diff options
author | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-05-31 22:42:21 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell@glassechidna.com.au> | 2011-05-31 23:06:09 +0200 |
commit | 1ef6e97b9089042316b49bb6c01668b531e2eae5 (patch) | |
tree | f36ea3f02ee5fbb2eec9f56beb1384125cee2e6b /heimdall/source/Heimdall.h | |
parent | Made "make install" install the udev rules. (diff) | |
download | Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.gz Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.bz2 Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.lz Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.xz Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.zst Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.zip |
Diffstat (limited to 'heimdall/source/Heimdall.h')
-rw-r--r-- | heimdall/source/Heimdall.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h index 672cf14..174e7d7 100644 --- a/heimdall/source/Heimdall.h +++ b/heimdall/source/Heimdall.h @@ -21,19 +21,19 @@ #ifndef HEIMDALL_H
#define HEIMDALL_H
-#ifdef OS_WINDOWS -#include <Windows.h> -#else - -#include "../config.h" - -#if defined(OS_DARWIN) || defined(OS_LINUX) -#include <unistd.h> -#define Sleep(t) usleep(1000*t) -#else -#error operating system not supported -#endif - +#ifdef OS_WINDOWS
+#include <Windows.h>
+#else
+
+#include "../config.h"
+
+#if defined(OS_DARWIN) || defined(OS_LINUX)
+#include <unistd.h>
+#define Sleep(t) usleep(1000*t)
+#else
+#error operating system not supported
+#endif
+
#endif
#ifndef nullptr
|