update opendllParser to version 0.5.1
parent
1e4bef6440
commit
e37dcdd28f
|
@ -30,9 +30,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifndef WIN32_LEAN_AND_MEAN
|
# define WIN32_LEAN_AND_MEAN
|
||||||
# define WIN32_LEAN_AND_MEAN
|
|
||||||
# endif
|
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
|
|
|
@ -32,19 +32,22 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(OPENDDL_STATIC_LIBARY)
|
#ifdef OPENDDL_STATIC_LIBARY
|
||||||
|
# define DLL_ODDLPARSER_EXPORT
|
||||||
#define TAG_DLL_EXPORT __declspec(dllexport)
|
|
||||||
#define TAG_DLL_IMPORT __declspec(dllimport)
|
|
||||||
#ifdef OPENDDLPARSER_BUILD
|
|
||||||
#define DLL_ODDLPARSER_EXPORT TAG_DLL_EXPORT
|
|
||||||
#else
|
#else
|
||||||
#define DLL_ODDLPARSER_EXPORT TAG_DLL_IMPORT
|
# ifdef _WIN32
|
||||||
#endif // OPENDDLPARSER_BUILD
|
# ifdef openddlparser_EXPORTS
|
||||||
#pragma warning(disable : 4251)
|
# define DLL_ODDLPARSER_EXPORT __declspec(dllexport)
|
||||||
#else
|
# else
|
||||||
#define DLL_ODDLPARSER_EXPORT
|
# define DLL_ODDLPARSER_EXPORT __declspec(dllimport)
|
||||||
#endif // _WIN32
|
# endif // openddlparser_EXPORTS
|
||||||
|
# ifdef _MSC_VER
|
||||||
|
# pragma warning(disable : 4251)
|
||||||
|
# endif // _MSC_VER
|
||||||
|
# else
|
||||||
|
# define DLL_ODDLPARSER_EXPORT __attribute__((visibility("default")))
|
||||||
|
# endif // _WIN32
|
||||||
|
#endif // OPENDDL_STATIC_LIBARY
|
||||||
|
|
||||||
// Namespace declarations, override this to avoid any conflicts
|
// Namespace declarations, override this to avoid any conflicts
|
||||||
#define BEGIN_ODDLPARSER_NS namespace ODDLParser {
|
#define BEGIN_ODDLPARSER_NS namespace ODDLParser {
|
||||||
|
|
Loading…
Reference in New Issue