mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Renamed sem to semaphore.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "bx.h"
|
||||
#include "cpu.h"
|
||||
#include "mutex.h"
|
||||
#include "sem.h"
|
||||
#include "semaphore.h"
|
||||
#include "uint32_t.h"
|
||||
|
||||
#include <list>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define BX_THREAD_H_HEADER_GUARD
|
||||
|
||||
#include "bx.h"
|
||||
#include "sem.h"
|
||||
#include "semaphore.h"
|
||||
|
||||
#if BX_CONFIG_SUPPORTS_THREADING
|
||||
|
||||
|
||||
@@ -730,6 +730,31 @@ function toolchain(_buildDir, _libDir)
|
||||
buildoptions {
|
||||
"-mfpmath=sse",
|
||||
}
|
||||
--[[
|
||||
defines { "BX_CRT_NONE" }
|
||||
|
||||
buildoptions {
|
||||
"-nostdlib",
|
||||
"-nodefaultlibs",
|
||||
"-nostartfiles",
|
||||
"-Wa,--noexecstack",
|
||||
"-ffreestanding",
|
||||
|
||||
"-mpreferred-stack-boundary=4",
|
||||
"-mstackrealign",
|
||||
}
|
||||
|
||||
linkoptions {
|
||||
"-nostdlib",
|
||||
"-nodefaultlibs",
|
||||
"-nostartfiles",
|
||||
"-Wa,--noexecstack",
|
||||
"-ffreestanding",
|
||||
|
||||
"-mpreferred-stack-boundary=4",
|
||||
"-mstackrealign",
|
||||
}
|
||||
--]]
|
||||
|
||||
configuration { "linux-gcc* or linux-clang*" }
|
||||
buildoptions {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
|
||||
*/
|
||||
|
||||
#include <bx/sem.h>
|
||||
#include <bx/semaphore.h>
|
||||
|
||||
#if BX_CONFIG_SUPPORTS_THREADING
|
||||
|
||||
Reference in New Issue
Block a user