Change the core of glslang to be a static library rather than a DLL.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@19952 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -58,9 +58,9 @@
|
||||
// are tracked in the intermediate representation, not the symbol table.
|
||||
//
|
||||
|
||||
#include "Include/Common.h"
|
||||
#include "Include/intermediate.h"
|
||||
#include "Include/InfoSink.h"
|
||||
#include "../Include/Common.h"
|
||||
#include "../Include/intermediate.h"
|
||||
#include "../Include/InfoSink.h"
|
||||
|
||||
//
|
||||
// Symbol base class. (Can build functions or variables out of these...)
|
||||
|
||||
@@ -38,11 +38,12 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#define C_DECL __cdecl
|
||||
#ifdef SH_EXPORTING
|
||||
#define SH_IMPORT_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define SH_IMPORT_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
//#ifdef SH_EXPORTING
|
||||
// #define SH_IMPORT_EXPORT __declspec(dllexport)
|
||||
//#else
|
||||
// #define SH_IMPORT_EXPORT __declspec(dllimport)
|
||||
//#endif
|
||||
#define SH_IMPORT_EXPORT
|
||||
#else
|
||||
#define SH_IMPORT_EXPORT
|
||||
#define __fastcall
|
||||
|
||||
Reference in New Issue
Block a user