!27 Support header-only

This commit is contained in:
idea4good
2020-01-22 11:03:29 +08:00
parent 84199d4733
commit e16f90cccc
56 changed files with 7877 additions and 8361 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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