- Timestamp:
- 06/02/04 18:33:59 (21 years ago)
- File:
-
- 1 edited
-
ps/trunk/source/lib/res/tex.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/lib/res/tex.cpp
r353 r361 34 34 #endif 35 35 36 // libpng includes windows.h - prevent that, and define what it needs.37 #define _WINDOWS_38 #define WINAPI __stdcall39 #define WINAPIV __cdecl40 36 41 37 #ifndef NO_PNG 42 38 # ifdef _WIN32 39 # define _WINDOWS_ // prevent libpng from including windows.h 40 # define WINAPI __stdcall // .. and define what it needs 41 # define WINAPIV __cdecl 43 42 # include <libpng10/png.h> 44 # else45 # include <png.h>46 43 # ifdef _MSC_VER 47 44 # pragma comment(lib, "libpng10.lib") 48 45 # endif 49 # endif 50 #endif 46 # else // _WIN32 47 # include <png.h> 48 # endif // _WIN32 49 #endif // NO_PNG 51 50 52 51
Note:
See TracChangeset
for help on using the changeset viewer.
