Use _WINDOWS; Use _MSC_VER properly; comment #if block

This commit is contained in:
Ben Anderson
2005-06-26 04:02:39 +00:00
parent d3e3c756ac
commit 6b22e48136
+4 -2
View File
@@ -6,14 +6,16 @@
#include "RageSurface.h"
#if defined(_MSC_VER)
#if defined(_WINDOWS)
# include "libpng/include/png.h"
# if defined(XBOX)
# if defined(_MSC_VER)
# if defined(_XBOX)
# pragma comment(lib, "libpng/lib/xboxlibpng.lib")
# else
# pragma comment(lib, "libpng/lib/libpng.lib")
# endif
# pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */
# endif // _MSC_VER
#else
# include <png.h>
#endif