mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2026-01-02 04:17:19 +08:00
!27 Support header-only
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#ifdef GUILITE_ON
|
||||
#if (defined __linux__) || (defined __APPLE__)
|
||||
|
||||
#include "../../core_include/api.h"
|
||||
@@ -387,3 +388,4 @@ int c_fifo::write(void* buf, int len)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef GUILITE_ON
|
||||
#if (!defined _WIN32) && (!defined WIN32) && (!defined _WIN64) && (!defined WIN64) && (!defined __linux__) && (!defined __APPLE__)
|
||||
|
||||
#include "../../core_include/api.h"
|
||||
@@ -132,3 +133,4 @@ int c_fifo::write(void* buf, int len)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef GUILITE_ON
|
||||
#if (defined _WIN32) || (defined WIN32) || (defined _WIN64) || (defined WIN64)
|
||||
|
||||
#include "../../core_include/api.h"
|
||||
@@ -393,3 +394,4 @@ int c_fifo::write(void* buf, int len)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef GUILITE_ON
|
||||
#if (defined __linux__) || (defined __APPLE__)
|
||||
|
||||
#include "../../core_include/api.h"
|
||||
@@ -65,3 +66,4 @@ int c_audio::play(AUDIO_TYPE type)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#ifdef GUILITE_ON
|
||||
#if (defined _WIN32) || (defined WIN32) || (defined _WIN64) || (defined WIN64)
|
||||
|
||||
#include <windows.h>
|
||||
@@ -248,3 +249,4 @@ int c_audio::play(AUDIO_TYPE type)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user