|
@@ -23,7 +23,10 @@
|
|
#endif
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifdef _WIN32
|
|
|
|
|
|
+#ifndef _WIN32
|
|
|
|
+#include <dlfcn.h>
|
|
|
|
+#include "dxc/Support/WinAdapter.h"
|
|
|
|
+#endif
|
|
|
|
|
|
#ifndef CROSS_PLATFORM_UUIDOF
|
|
#ifndef CROSS_PLATFORM_UUIDOF
|
|
// Warning: This macro exists in WinAdapter.h as well
|
|
// Warning: This macro exists in WinAdapter.h as well
|
|
@@ -31,12 +34,6 @@
|
|
struct __declspec(uuid(spec)) interface;
|
|
struct __declspec(uuid(spec)) interface;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#else
|
|
|
|
-
|
|
|
|
-#include <dlfcn.h>
|
|
|
|
-#include "dxc/Support/WinAdapter.h"
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
struct IMalloc;
|
|
struct IMalloc;
|
|
|
|
|
|
struct IDxcIncludeHandler;
|
|
struct IDxcIncludeHandler;
|