使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
lolengine
/
lol
镜像自地址
https://github.com/lolengine/lol
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
undefined
Sam Hocevar
9 年前
父节点
868a0502ef
当前提交
848344cc7b
共有
12 个文件被更改
,包括
21 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-0
src/base/log.cpp
+1
-0
src/base/string.cpp
+2
-1
src/gpu/renderer.cpp
+2
-1
src/gpu/shader.cpp
+8
-0
src/lol/base/assert.h
+1
-0
src/scene.cpp
+1
-0
src/sys/file.cpp
+1
-0
src/sys/init.cpp
+1
-0
src/sys/timer.cpp
+1
-0
src/textureimage.cpp
+1
-0
src/tileset.cpp
+1
-0
src/video.cpp
+ 1
- 0
src/base/log.cpp
查看文件
@@ -17,6 +17,7 @@
#if defined(_WIN32)
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
#endif
#if defined(__ANDROID__)
+ 1
- 0
src/base/string.cpp
查看文件
@@ -17,6 +17,7 @@
#if defined(_WIN32)
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
#endif
#include <cstdarg>
+ 2
- 1
src/gpu/renderer.cpp
查看文件
@@ -18,8 +18,9 @@
# if defined USE_D3D9
# include <d3d9.h>
# endif
# define WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
1
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef near /* Fuck Microsoft */
# undef far /* Fuck Microsoft again */
#endif
+ 2
- 1
src/gpu/shader.cpp
查看文件
@@ -16,8 +16,9 @@
#include <cstdio>
#if defined _WIN32
# define WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
1
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# if defined USE_D3D9
# include <algorithm>
using std::min;
+ 8
- 0
src/lol/base/assert.h
查看文件
@@ -16,6 +16,14 @@
#include <cstdlib>
#if defined _WIN32
# define WIN32_LEAN_AND_MEAN 1
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef near /* Fuck Microsoft */
# undef far /* Fuck Microsoft again */
#endif
namespace lol
{
+ 1
- 0
src/scene.cpp
查看文件
@@ -18,6 +18,7 @@
#if defined(_WIN32)
# define WIN32_LEAN_AND_MEAN 1
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
#endif
#include "lolgl.h"
+ 1
- 0
src/sys/file.cpp
查看文件
@@ -18,6 +18,7 @@
#if defined(_WIN32)
# define WIN32_LEAN_AND_MEAN 1
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
#else
# include <dirent.h>
#endif
+ 1
- 0
src/sys/init.cpp
查看文件
@@ -21,6 +21,7 @@
#if _WIN32
# define WIN32_LEAN_AND_MEAN
# include <direct.h>
# undef WIN32_LEAN_AND_MEAN
#endif
namespace lol
+ 1
- 0
src/sys/timer.cpp
查看文件
@@ -20,6 +20,7 @@
#elif _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
#elif HAVE_SDL_SDL_H
# include <SDL/SDL.h>
#else
+ 1
- 0
src/textureimage.cpp
查看文件
@@ -17,6 +17,7 @@
#if defined _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# if defined USE_D3D9
# define FAR
# define NEAR
+ 1
- 0
src/tileset.cpp
查看文件
@@ -19,6 +19,7 @@
#if defined _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# if defined USE_D3D9
# define FAR
# define NEAR
+ 1
- 0
src/video.cpp
查看文件
@@ -16,6 +16,7 @@
# endif
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef near /* Fuck Microsoft */
# undef far /* Fuck Microsoft again */
#endif
撰写
预览
正在加载...
取消
保存