Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

integer_types.h

Go to the documentation of this file.
00001 #if !defined(INTEGER_TYPES_H)
00002 #define INTEGER_TYPES_H
00003 
00004 /*                                                               */
00005 /* Copyright 1984,1985,1986,1988,1989,1990,2003,2004,2005,       */
00006 /*   2006 by Howard Turtle                                       */
00007 /*                                                               */
00008 
00009 #ifdef WIN32
00010 typedef unsigned short     UINT16;
00011 typedef unsigned int       UINT32;
00012 typedef unsigned __int64   UINT64;
00013 #define UINT64_format "%llu"
00014 #define UINT64_formatf(w) "%" #w "llu"
00015 #define UINT64_C(c)   c ## ULL
00016 #define PATH_SEPARATOR '\\'
00017 typedef struct F_HANDLE F_HANDLE;
00018 #else
00019 #include <inttypes.h>
00020 typedef uint16_t           UINT16;
00021 typedef uint32_t           UINT32;
00022 typedef uint64_t           UINT64;
00023 #define UINT64_format "%" PRIu64
00024 #define UINT64_formatf(w) "%" #w PRIu64
00025 #define PATH_SEPARATOR '/'
00026 #define F_HANDLE FILE
00027 #endif
00028 
00029 
00030 #endif

Generated on Tue Jun 15 11:02:54 2010 for Lemur by doxygen 1.3.4