diff src/libpst.c @ 33:12cac756bc05 stable-0-5-5

enable -d option, but if not specified, don't generate a debug file
author carl
date Tue, 10 Jul 2007 20:23:55 -0700
parents b88ceb81dba2
children 07177825c91b
line wrap: on
line diff
--- a/src/libpst.c	Tue Jul 10 18:18:38 2007 -0700
+++ b/src/libpst.c	Tue Jul 10 20:23:55 2007 -0700
@@ -13,8 +13,8 @@
 #include <wchar.h>
 
 #include <errno.h>
-#include <sys/stat.h> //mkdir
-#include <fcntl.h> // for Win32 definition of _O_BINARY
+#include <sys/stat.h>	// mkdir
+#include <fcntl.h>		// for Win32 definition of _O_BINARY
 #include "define.h"
 #include "libstrfunc.h"
 
@@ -24,28 +24,9 @@
 # include <unistd.h>
 #endif //ifdef _MSC_VER
 
-//#include <endian.h>
-//#include <byteswap.h>
-
 #include "libpst.h"
 #include "timeconv.h"
 
-//#ifdef _MSC_VER
-//#include "windows.h"
-//#define WARN printf
-//#define DEBUG_INFO printf
-//#define DEBUG_EMAIL printf
-//#define DEBUG_READ printf
-//#define DEBUG_DECRYPT printf
-//#define DEBUG_CODE printf
-//#define DEBUG_INDEX printf
-//#define DEBUG_WARN printf
-//#define DEBUG printf
-//
-//#define LE32_CPU(x) {}
-//#define LE16_CPU(x) {}
-//#endif // _MSC_VER
-
 #define FILE_SIZE_POINTER 0xA8
 #define INDEX_POINTER	  0xC4
 #define SECOND_POINTER	  0xBC