raygui build with exported symbols (#543)

This commit is contained in:
Dhruva Sambrani
2026-04-27 21:18:36 +02:00
committed by GitHub
parent 713790ab91
commit 6d2b28ff74

View File

@ -360,6 +360,10 @@
#if !defined(_CRT_SECURE_NO_WARNINGS) #if !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS // Disable unsafe warnings on scanf() functions in MSVC #define _CRT_SECURE_NO_WARNINGS // Disable unsafe warnings on scanf() functions in MSVC
#endif #endif
#else
#if defined(BUILD_LIBTYPE_SHARED)
#define RAYGUIAPI __attribute__((visibility("default"))) // Building as a Unix shared library (.so/.dylib)
#endif
#endif #endif
// Function specifiers definition // Function specifiers definition