Skip to content

Commit

Permalink
Change Windows.h to windows.h to help with cross-compilation. (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyBlackCat committed Apr 23, 2024
1 parent 6474b35 commit 086ead6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/ExternalTaskThread_c.c
Expand Up @@ -27,7 +27,7 @@

#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <windows.h>

typedef HANDLE threadid_t;
#define THREADFUNC_DECL DWORD WINAPI
Expand Down
4 changes: 2 additions & 2 deletions src/TaskScheduler.cpp
Expand Up @@ -55,7 +55,7 @@ namespace
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "Windows.h"
#include "windows.h"
#endif

uint32_t enki::GetNumHardwareThreads()
Expand Down Expand Up @@ -1320,7 +1320,7 @@ void TaskScheduler::Initialize()
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>

namespace enki
{
Expand Down

0 comments on commit 086ead6

Please sign in to comment.