summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/.svnignore2
-rw-r--r--src/common/dll.h50
2 files changed, 27 insertions, 25 deletions
diff --git a/src/common/.svnignore b/src/common/.svnignore
new file mode 100644
index 000000000..fbbf39b06
--- /dev/null
+++ b/src/common/.svnignore
@@ -0,0 +1,2 @@
+GNUmakefile
+obj
diff --git a/src/common/dll.h b/src/common/dll.h
index 50854da4d..1ad49143c 100644
--- a/src/common/dll.h
+++ b/src/common/dll.h
@@ -1,25 +1,25 @@
-
-#ifndef _DLL_H_
-#define _DLL_H_
-
-#ifdef _WIN32
-
- #include <windows.h>
- #define DLL_OPEN(x) LoadLibrary(x)
- #define DLL_SYM(x,y,z) (FARPROC)(x) = GetProcAddress(y,z)
- #define DLL_CLOSE(x) FreeLibrary(x)
- #define DLL HINSTANCE
-
-#else
-
- #include <dlfcn.h>
- #define DLL_OPEN(x) dlopen(x,RTLD_NOW)
- #define DLL_SYM(x,y,z) (x) = (void *)dlsym(y,z)
- #define DLL_CLOSE(x) dlclose(x)
- #define DLL void *
-
-#endif
-
-#endif // _DLL_H_
-
-
+
+#ifndef _DLL_H_
+#define _DLL_H_
+
+#ifdef _WIN32
+
+ #include <windows.h>
+ #define DLL_OPEN(x) LoadLibrary(x)
+ #define DLL_SYM(x,y,z) (FARPROC)(x) = GetProcAddress(y,z)
+ #define DLL_CLOSE(x) FreeLibrary(x)
+ #define DLL HINSTANCE
+
+#else
+
+ #include <dlfcn.h>
+ #define DLL_OPEN(x) dlopen(x,RTLD_NOW)
+ #define DLL_SYM(x,y,z) (x) = (void *)dlsym(y,z)
+ #define DLL_CLOSE(x) dlclose(x)
+ #define DLL void *
+
+#endif
+
+#endif // _DLL_H_
+
+