diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:53:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:53:31 +0000 |
commit | 4b9c7b10310e0821a523088905825f15736ec9ae (patch) | |
tree | 8c80139930ebc88b58be92c6077e9a66d4bddc4e /src/lilv_internal.h | |
parent | 3760ff6900140d9bae6f811f8d13112862adc751 (diff) | |
download | lilv-4b9c7b10310e0821a523088905825f15736ec9ae.tar.gz lilv-4b9c7b10310e0821a523088905825f15736ec9ae.tar.bz2 lilv-4b9c7b10310e0821a523088905825f15736ec9ae.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3227 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r-- | src/lilv_internal.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index b33d07e..af0750f 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -27,13 +27,13 @@ extern "C" { #include <stdlib.h> #ifdef __WIN32__ -#include <windows.h> -#define dlopen(path, flags) LoadLibrary(path) -#define dlclose(lib) FreeLibrary(lib) -#define dlsym GetProcAddress +# include <windows.h> +# define dlopen(path, flags) LoadLibrary(path) +# define dlclose(lib) FreeLibrary(lib) +# define dlsym GetProcAddress static inline char* dlerror(void) { return "Unknown error"; } #else -#include <dlfcn.h> +# include <dlfcn.h> #endif #include <glib.h> @@ -42,13 +42,12 @@ static inline char* dlerror(void) { return "Unknown error"; } #include "sord/sord.h" #include "lilv-config.h" +#include "lilv/lilv.h" #ifdef LILV_DYN_MANIFEST -#include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h" +# include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h" #endif -#include "lilv/lilv.h" - #define LILV_NS_DOAP "http://usefulinc.com/ns/doap#" #define LILV_NS_RDFS "http://www.w3.org/2000/01/rdf-schema#" #define LILV_NS_LILV "http://drobilla.net/ns/lilv#" |