Skip to content

Commit

Permalink
Nope, revert that, and just inline...
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-hansen committed Nov 8, 2024
1 parent 7567e8f commit 2ba1365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/jitterentropy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if(WIN32)
if(MSVC)
set(JITTER_COMPILE_FLAGS "/Od /W4 /DYNAMICBASE /DAWSLC")
else()
set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wno-unused-function -Wextra -Wall -pedantic -O0 -fwrapv -Wconversion")
set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv -Wconversion")
endif()
else()
set(CMAKE_POSITION_INDEPENDENT_CODE true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ typedef int64_t ssize_t;
#include <windows.h>
#endif

static void jent_get_nstime(uint64_t *out)
static inline void jent_get_nstime(uint64_t *out)
{
#if defined(_M_ARM) || defined(_M_ARM64)

Expand Down

0 comments on commit 2ba1365

Please sign in to comment.