-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into transmute-to-boxfrominto
- Loading branch information
Showing
16 changed files
with
681 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 0fe939d..9cc567f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -230,20 +230,20 @@ endif() | ||
# Example binaries | ||
#============================================================================ | ||
|
||
-add_executable(example test/example.c) | ||
-target_link_libraries(example zlib) | ||
-add_test(example example) | ||
- | ||
-add_executable(minigzip test/minigzip.c) | ||
-target_link_libraries(minigzip zlib) | ||
- | ||
-if(HAVE_OFF64_T) | ||
- add_executable(example64 test/example.c) | ||
- target_link_libraries(example64 zlib) | ||
- set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") | ||
- add_test(example64 example64) | ||
- | ||
- add_executable(minigzip64 test/minigzip.c) | ||
- target_link_libraries(minigzip64 zlib) | ||
- set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") | ||
-endif() | ||
+# add_executable(example test/example.c) | ||
+# target_link_libraries(example zlib) | ||
+# add_test(example example) | ||
+ | ||
+# add_executable(minigzip test/minigzip.c) | ||
+# target_link_libraries(minigzip zlib) | ||
+ | ||
+# if(HAVE_OFF64_T) | ||
+# add_executable(example64 test/example.c) | ||
+# target_link_libraries(example64 zlib) | ||
+# set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") | ||
+# add_test(example64 example64) | ||
+ | ||
+# add_executable(minigzip64 test/minigzip.c) | ||
+# target_link_libraries(minigzip64 zlib) | ||
+# set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") | ||
+# endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#define THREAD_IMPLEMENTATION | ||
#if !defined(_WIN32) | ||
#define _GNU_SOURCE | ||
#include <errno.h> | ||
#include <stdint.h> | ||
#include <string.h> /* for memset */ | ||
#include <strings.h> | ||
#include <pthread.h> /* for pthread_setname_np */ | ||
#endif | ||
#include "thread.h" |
Oops, something went wrong.