Introduce CIMGUI_NO_EXPORT to stop exporting symbols

Useful when static linking in a library to avoid collisions
This commit is contained in:
Unknown
2017-08-06 12:55:58 +02:00
committed by Stephan Dilly
parent dbbac62a84
commit 516547dcd9

View File

@@ -2,8 +2,12 @@
#include <stdio.h>
#if defined _WIN32 || defined __CYGWIN__
#ifdef CIMGUI_NO_EXPORT
#define API
#else
#define API __declspec(dllexport)
#ifndef __GNUC__
#endif
#ifdef __GNUC__
#define snprintf sprintf_s
#endif
#else