diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-03-27 01:38:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-03-27 01:38:28 +0000 |
commit | 367c9cb514c9da766488b9bdb218a18e31cb7624 (patch) | |
tree | f9e343be94161a4837f0f1c1d072a35538ae0f63 /converter/other/cameratopam/cameratopam.c | |
parent | 6e88e3326cb0c7f7975b56189278cab3f84ba1bd (diff) | |
download | netpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.tar.gz netpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.tar.xz netpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.zip |
Promote Stable (10.47) to Super Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2691 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/cameratopam/cameratopam.c')
-rw-r--r-- | converter/other/cameratopam/cameratopam.c | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/converter/other/cameratopam/cameratopam.c b/converter/other/cameratopam/cameratopam.c index 92773c91..b2d6da9b 100644 --- a/converter/other/cameratopam/cameratopam.c +++ b/converter/other/cameratopam/cameratopam.c @@ -24,18 +24,13 @@ #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 +#include "pm_c_util.h" #include "mallocvar.h" #include "shhopt.h" #include "pam.h" @@ -48,17 +43,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 |