ithewei 6 years ago
parent
commit
45ed46fa9d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      base/hplatform.h

+ 3 - 3
base/hplatform.h

@@ -174,7 +174,7 @@ typedef unsigned __int32    uint32_t;
 typedef unsigned __int64    uint64_t;
 typedef unsigned __int64    uint64_t;
 #endif
 #endif
 
 
-#ifdef HAVE_SYS_TYPES_H
+#if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #include <sys/types.h>
 #endif
 #endif
 
 
@@ -182,11 +182,11 @@ typedef unsigned __int64    uint64_t;
 #include <sys/stat.h>
 #include <sys/stat.h>
 #endif
 #endif
 
 
-#ifdef HAVE_FCNTL_H
+#if HAVE_FCNTL_H
 #include <fcntl.h>
 #include <fcntl.h>
 #endif
 #endif
 
 
-#ifdef HAVE_PTHREAD_H
+#if HAVE_PTHREAD_H
 #include <pthread.h>
 #include <pthread.h>
 #endif
 #endif