"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/wifipcap/os.h" (19 Feb 2021, 371 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "os.h" see the Fossies "Dox" file reference documentation.

    1 #pragma once
    2 
    3 #ifdef _WIN32
    4 
    5 #define _PACKED_ 
    6 
    7 #include <windows.h>
    8 
    9 #define u_int8_t  UCHAR
   10 #define u_int16_t USHORT
   11 #define u_int32_t ULONG
   12 #define u_int64_t ULONGLONG
   13 
   14 #define int8_t  CHAR
   15 #define int16_t SHORT
   16 #define int32_t LONG
   17 #define int64_t LONGLONG
   18 
   19 #define u_char  UCHAR
   20 
   21 #else
   22 
   23 #define _PACKED_  __attribute__((__packed__))
   24 
   25 #endif