]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-types.h
We don't define HAVE_{INT,UINT}_n_T; no point in checking them.
[libpcap] / pcap-types.h
index f1ec44841717ed14a445e22701b95feb8ac26559..66de7a48327dd9515e3c4705957cb182fdfaa512 100644 (file)
     /*
      * Earlier VS; we have to define this stuff ourselves.
      */
-    #ifndef HAVE_U_INT8_T
-      typedef unsigned char u_int8_t;
-      typedef signed char int8_t;
-    #endif
-
-    #ifndef HAVE_U_INT16_T
-      typedef unsigned short u_int16_t;
-      typedef signed short int16_t;
-    #endif
-
-    #ifndef HAVE_U_INT32_T
-      typedef unsigned int u_int32_t;
-      typedef signed int int32_t;
-    #endif
-
-    #ifndef HAVE_U_INT64_T
-      #ifdef _MSC_EXTENSIONS
-        typedef unsigned _int64 u_int64_t;
-        typedef _int64 int64_t;
-      #else /* _MSC_EXTENSIONS */
-        typedef unsigned long long u_int64_t;
-        typedef long long int64_t;
-      #endif
+    typedef unsigned char u_int8_t;
+    typedef signed char int8_t;
+    typedef unsigned short u_int16_t;
+    typedef signed short int16_t;
+    typedef unsigned int u_int32_t;
+    typedef signed int int32_t;
+    #ifdef _MSC_EXTENSIONS
+      typedef unsigned _int64 u_int64_t;
+      typedef _int64 int64_t;
+    #else /* _MSC_EXTENSIONS */
+      typedef unsigned long long u_int64_t;
+      typedef long long int64_t;
     #endif
   #endif