]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect-stdinc.h
Use C99 macros to define 64-bit constants and maximum 64-bit values.
[tcpdump] / netdissect-stdinc.h
index e81c90bd590b080dfb3f66ef24dfc5ae982d90b8..f4e5fb98abed92918522c1f3e6bcccc40832fbe1 100644 (file)
    * strtoint64_t().
    */
   #define strtoint64_t strtoll
-
-  /*
-   * And we have LL as a suffix for constants, so use that.
-   */
-  #define INT64_T_CONSTANT(constant)   (constant##LL)
 #else
   /*
    * Non-Microsoft compiler.
    * XXX - should we use strtoll or should we use _strtoi64()?
    */
   #define strtoint64_t         strtoll
-
-  /*
-   * Assume LL works.
-   */
-  #define INT64_T_CONSTANT(constant)   (constant##LL)
 #endif
 
 #ifdef _MSC_VER
@@ -251,11 +241,6 @@ typedef char *caddr_t;
  * Assume all UN*Xes have strtoll(), and use it for strtoint64_t().
  */
 #define strtoint64_t   strtoll
-
-/*
- * Assume LL works.
- */
-#define INT64_T_CONSTANT(constant)     (constant##LL)
 #endif /* _WIN32 */
 
 /*