]> code.delx.au - refind/commitdiff
Header cleanup and POSIX support in header file
authorStefan Agner <stefan@agner.ch>
Tue, 11 Dec 2012 18:12:56 +0000 (19:12 +0100)
committerStefan Agner <stefan@agner.ch>
Tue, 11 Dec 2012 18:21:38 +0000 (19:21 +0100)
filesystems/fsw_base.h
filesystems/fsw_efi_edk2_base.h

index 3405f574b265c873e00691e1ae378f8e2b4f4041..6693efa80052fb9a23b934020e2a13697dcaf387 100644 (file)
 #define HOST_EFI
 #endif
 
-#ifndef FSW_DEBUG_LEVEL
-/**
- * Global debugging level. Can be set locally for the scope of a single
- * file by defining the macro before fsw_base.h is included.
- */
-#define FSW_DEBUG_LEVEL 0
-#endif
-
-
 #ifdef HOST_EFI
 #include "fsw_efi_base.h"
 #endif
 
 #ifdef HOST_POSIX
-#include "fsw_posix_base.h"
+#include "test/fsw_posix_base.h"
+#endif
+
+#ifndef FSW_DEBUG_LEVEL
+/**
+ * Global debugging level. Can be set locally for the scope of a single
+ * file by defining the macro before fsw_base.h is included.
+ */
+#define FSW_DEBUG_LEVEL 3
 #endif
 
 // message printing
index a144a60f684975d6d6b5c275cef466100498e5b4..27c6d58bcf02e522312b70fa0808e13223edb3a1 100644 (file)
@@ -1,3 +1,7 @@
+/**
+ * \file fsw_efi_edk2_base.h
+ * Base definitions for the EDK EFI Toolkit environment.
+ */
 /*
  * Copyright (c) 2012 Stefan Agner
  *
@@ -88,7 +92,7 @@
 //                      );
 
 //#define CompareGuid(x, y) CompareGuidEdk1((x),(y))
-//# define FSW_DEBUG_LEVEL 3
+//#define FSW_DEBUG_LEVEL 3
 
 int fsw_streq_ISO88591_UTF16(void *s1data, void *s2data, int len);