patches/erlang-01-lib-wx-c_src-wxe_gl.h.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2760 6102b8653c96
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2760
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     1
--- otp_src_R13B04-orig/lib/wx/c_src/wxe_gl.h	2009-03-12 12:25:43.000000000 +0000
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     2
+++ otp_src_R13B04/lib/wx/c_src/wxe_gl.h	2010-06-06 05:16:12.457404922 +0000
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     3
@@ -98,20 +98,20 @@
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     4
 #include <inttypes.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     5
 #elif defined(__sun__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     6
 #include <inttypes.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     7
-#if defined(__STDC__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     8
+#if defined(__STDC__) && !defined(_INT64_TYPE)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     9
 #if defined(__arch64__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    10
 typedef long int int64_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    11
 typedef unsigned long int uint64_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    12
 #else
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    13
 typedef long long int int64_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    14
 typedef unsigned long long int uint64_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    15
-#endif /* __arch64__ */
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    16
+#endif /* __arch64__ && !_INT64_TYPE */
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    17
 #endif /* __STDC__ */
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    18
-#elif defined( __VMS )
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    19
+#elif defined( __VMS ) || defined(__SOL64__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    20
 #include <inttypes.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    21
 #elif defined(__SCO__) || defined(__USLC__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    22
 #include <stdint.h>
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    23
-#elif defined(__UNIXOS2__) || defined(__SOL64__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    24
+#elif defined(__UNIXOS2__)
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    25
 typedef long int int32_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    26
 typedef long long int int64_t;
6102b8653c96 2010-06-06 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    27
 typedef unsigned long long int uint64_t;