Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Oct 28, 2021
1 parent 11ba1bc commit 99c42dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# include <SDKDDKVer.h>
# include <windows.h>

#endif
#endif

TM_INLINE
double
Expand Down
1 change: 0 additions & 1 deletion src/win/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ thread_new(void (*func)(void *), void *obj) {
tm_thread *th;
tm_thread_entry *entry;


alc = tm_get_allocator();
th = alc->calloc(1, sizeof(*th));
entry = calloc(1, sizeof(*entry));
Expand Down
8 changes: 4 additions & 4 deletions win/tm.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<RunCodeAnalysis>true</RunCodeAnalysis>
<RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<RunCodeAnalysis>true</RunCodeAnalysis>
<RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<RunCodeAnalysis>true</RunCodeAnalysis>
<RunCodeAnalysis>true</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
Expand Down Expand Up @@ -169,7 +169,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>NDEBUG;TML_EXPORTS;_WINDOWS;_USRDLL;LIBTM_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NDEBUG;TML_EXPORTS;TM_EXPORTS;_WINDOWS;_USRDLL;LIBTM_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<EnablePREfast>true</EnablePREfast>
<CompileAs>CompileAsC</CompileAs>
Expand Down

0 comments on commit 99c42dc

Please sign in to comment.