diff options
author | hansr <hk-git@circlestorm.org> | 2014-10-15 15:30:00 +0200 |
---|---|---|
committer | hansr <hk-git@circlestorm.org> | 2014-10-15 15:30:00 +0200 |
commit | e2a42fe7cfee13746173f602b646fa77287de9d3 (patch) | |
tree | 2f4abd8a782295caa6007ff795cd288c54e3eaea | |
parent | 5fafd66cd0d0adb7bc34db3617bfad61a6a9f16a (diff) |
Remove more workarounds for really old compilers
-rw-r--r-- | test/minigzip.c | 9 | ||||
-rw-r--r-- | zconf.h | 12 | ||||
-rw-r--r-- | zconf.h.cmakein | 12 | ||||
-rw-r--r-- | zconf.h.in | 12 |
4 files changed, 0 insertions, 45 deletions
diff --git a/test/minigzip.c b/test/minigzip.c index 227605d..9037681 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -41,15 +41,6 @@ # define snprintf _snprintf #endif -#ifdef RISCOS -# define unlink remove -# define GZ_SUFFIX "-gz" -# define fileno(file) file->__file -#endif -#if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os -# include <unix.h> /* for fileno */ -#endif - #if !defined(Z_HAVE_UNISTD_H) && !defined(_LARGEFILE64_SOURCE) #ifndef WIN32 /* unlink already in stdio.h for WIN32 */ extern int unlink (const char *); @@ -239,18 +239,6 @@ # endif #endif -#if defined (__BEOS__) -# ifdef ZLIB_DLL -# ifdef ZLIB_INTERNAL -# define ZEXPORT __declspec(dllexport) -# define ZEXPORTVA __declspec(dllexport) -# else -# define ZEXPORT __declspec(dllimport) -# define ZEXPORTVA __declspec(dllimport) -# endif -# endif -#endif - #ifndef ZEXTERN # define ZEXTERN extern #endif diff --git a/zconf.h.cmakein b/zconf.h.cmakein index 19386ad..f80587c 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein @@ -241,18 +241,6 @@ # endif #endif -#if defined (__BEOS__) -# ifdef ZLIB_DLL -# ifdef ZLIB_INTERNAL -# define ZEXPORT __declspec(dllexport) -# define ZEXPORTVA __declspec(dllexport) -# else -# define ZEXPORT __declspec(dllimport) -# define ZEXPORTVA __declspec(dllimport) -# endif -# endif -#endif - #ifndef ZEXTERN # define ZEXTERN extern #endif @@ -239,18 +239,6 @@ # endif #endif -#if defined (__BEOS__) -# ifdef ZLIB_DLL -# ifdef ZLIB_INTERNAL -# define ZEXPORT __declspec(dllexport) -# define ZEXPORTVA __declspec(dllexport) -# else -# define ZEXPORT __declspec(dllimport) -# define ZEXPORTVA __declspec(dllimport) -# endif -# endif -#endif - #ifndef ZEXTERN # define ZEXTERN extern #endif |