diff src/common.h @ 182:b65e8d0a088a

more cleanup on external names in the shared object file
author Carl Byington <carl@five-ten-sg.com>
date Mon, 13 Apr 2009 11:39:33 -0700
parents 2ec889a79e51
children 5f3fa53cb0e1
line wrap: on
line diff
--- a/src/common.h	Fri Apr 10 13:10:14 2009 -0700
+++ b/src/common.h	Mon Apr 13 11:39:33 2009 -0700
@@ -1,6 +1,6 @@
 
-#ifndef __COMMON_H
-#define __COMMON_H
+#ifndef __PST_COMMON_H
+#define __PST_COMMON_H
 
 
 #include <stdlib.h>
@@ -24,13 +24,9 @@
 
 
 #ifndef _WIN32
-    typedef uint32_t  DWORD;
-    typedef uint16_t   WORD;
-    typedef uint8_t    BYTE;
-    typedef uint32_t UINT32;
-    typedef struct {    // copied from wine
-        DWORD  dwLowDateTime;
-        DWORD  dwHighDateTime;
+    typedef struct {
+        uint32_t  dwLowDateTime;
+        uint32_t  dwHighDateTime;
     } FILETIME;
     // According to Jan Wolter, sys/param.h is the most portable source of endian
     // information on UNIX systems. see http://www.unixpapa.com/incnote/byteorder.html