gl2ps.h | gl2ps.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define __GL2PS_H__ | #define __GL2PS_H__ | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
/* Define GL2PSDLL at compile time to build a Windows DLL */ | /* Define GL2PSDLL at compile time to build a Windows DLL */ | |||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT __) | #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT __) | |||
# if defined(_MSC_VER) | # if defined(_MSC_VER) | |||
# pragma warning(disable:4115) | # pragma warning(disable:4115) | |||
# pragma warning(disable:4996) | ||||
# endif | # endif | |||
# include <windows.h> | # include <windows.h> | |||
# if defined(GL2PSDLL) | # if defined(GL2PSDLL) | |||
# if defined(GL2PSDLL_EXPORTS) | # if defined(GL2PSDLL_EXPORTS) | |||
# define GL2PSDLL_API __declspec(dllexport) | # define GL2PSDLL_API __declspec(dllexport) | |||
# else | # else | |||
# define GL2PSDLL_API __declspec(dllimport) | # define GL2PSDLL_API __declspec(dllimport) | |||
# endif | # endif | |||
# else | # else | |||
# define GL2PSDLL_API | # define GL2PSDLL_API | |||
skipping to change at line 82 | skipping to change at line 83 | |||
# define GL2PS_HAVE_ZLIB | # define GL2PS_HAVE_ZLIB | |||
# if defined(HAVE_LIBPNG) || defined(HAVE_PNG) | # if defined(HAVE_LIBPNG) || defined(HAVE_PNG) | |||
# define GL2PS_HAVE_LIBPNG | # define GL2PS_HAVE_LIBPNG | |||
# endif | # endif | |||
#endif | #endif | |||
/* Version number */ | /* Version number */ | |||
#define GL2PS_MAJOR_VERSION 1 | #define GL2PS_MAJOR_VERSION 1 | |||
#define GL2PS_MINOR_VERSION 3 | #define GL2PS_MINOR_VERSION 3 | |||
#define GL2PS_PATCH_VERSION 4 | #define GL2PS_PATCH_VERSION 5 | |||
#define GL2PS_EXTRA_VERSION "" | #define GL2PS_EXTRA_VERSION "" | |||
#define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \ | #define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \ | |||
0.01 * GL2PS_MINOR_VERSION + \ | 0.01 * GL2PS_MINOR_VERSION + \ | |||
0.0001 * GL2PS_PATCH_VERSION) | 0.0001 * GL2PS_PATCH_VERSION) | |||
#define GL2PS_COPYRIGHT "(C) 1999-2009 C. Geuzaine" | #define GL2PS_COPYRIGHT "(C) 1999-2009 C. Geuzaine" | |||
/* Output file formats (the values and the ordering are important!) */ | /* Output file formats (the values and the ordering are important!) */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||