We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f122bf3 commit ca5fbaeCopy full SHA for ca5fbae
tests/CMakeLists.txt
@@ -4,7 +4,7 @@ set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)
4
5
project(arithmetic_codec_unit_tests)
6
7
-add_executable(test test.c arithmetic_codec.c)
+add_executable(test test.c)
8
9
if(MSVC)
10
target_compile_options(test PRIVATE /W4 /WX /std:c17)
tests/arithmetic_codec.c
tests/test.c
@@ -4,6 +4,8 @@
#include <stdint.h>
#include "greatest.h"
+
+#define __ARITHMETIC_CODEC__IMPLEMENTATION__
#include "../arithmetic_codec.h"
11
enum {num_elements = 20};
0 commit comments