diff options
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/cameratopam/cameratopam.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/converter/other/cameratopam/cameratopam.c b/converter/other/cameratopam/cameratopam.c index 92773c91..f2c6d78c 100644 --- a/converter/other/cameratopam/cameratopam.c +++ b/converter/other/cameratopam/cameratopam.c @@ -24,15 +24,9 @@ #include <string.h> #ifdef __CYGWIN__ -#include <io.h> + #include <io.h> #endif -#ifdef WIN32 - #include <winsock2.h> - #pragma comment(lib, "ws2_32.lib") - #define strcasecmp stricmp - typedef __int64 INT64; - static bool const have64BitArithmetic = true; -#else +#if !defined(WIN32) || defined(__CYGWIN__) #include <unistd.h> #endif @@ -48,17 +42,6 @@ #include "foveon.h" #include "dng.h" -#if HAVE_INT64 - typedef int64_t INT64; - static bool const have64BitArithmetic = true; -#else - /* We define INT64 to something that lets the code compile, but we - should not execute any INT64 code, because it will get the wrong - result. */ - typedef int INT64; - static bool const have64BitArithmetic = false; -#endif - /* All global variables are defined here, and all functions that access them are prefixed with "CLASS". Note that a thread-safe |