mirror of
https://github.com/libAthena/athena.git
synced 2025-05-13 19:01:23 +00:00
Win32 Macro fixes
This commit is contained in:
parent
9b6fea36e3
commit
e52e9f8dc4
@ -2,6 +2,12 @@
|
|||||||
# ATDNA Build #
|
# ATDNA Build #
|
||||||
###############
|
###############
|
||||||
|
|
||||||
|
# Force this binary to Release flags (to make MSVC happy)
|
||||||
|
if(MSVC)
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Find dependencies
|
# Find dependencies
|
||||||
include(FindLLVM.cmake)
|
include(FindLLVM.cmake)
|
||||||
if(NOT LLVM_FOUND)
|
if(NOT LLVM_FOUND)
|
||||||
|
@ -8,7 +8,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN 1
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
#define ISTREAMREADER_HPP
|
#define ISTREAMREADER_HPP
|
||||||
|
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN 1
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
#define ISTREAMWRITER_HPP
|
#define ISTREAMWRITER_HPP
|
||||||
|
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN 1
|
#define WIN32_LEAN_AND_MEAN 1
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user