Skip to content

Commit

Permalink
adjust: stdint.h 移至 include/ege 目录
Browse files Browse the repository at this point in the history
  • Loading branch information
yixy-only committed Nov 28, 2024
1 parent fed5c8a commit 7b672f8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions include/ege.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
#endif
#endif

#include "ege/stdint.h"

#if defined(EGE_FOR_AUTO_CODE_COMPLETETION_ONLY)
#include <windef.h>
Expand Down
File renamed without changes.
10 changes: 0 additions & 10 deletions src/types.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
#pragma once

// MSVC 从 10.0(VS2010)开始有 stdint.h
// GCC 从 4.5 开始有 stdint.h
#if _MSC_VER >= 1600 || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
#include <stdint.h>
#elif !defined(_MSC_VER) || _MSC_VER > 1300
#include "stdint.h"
#else
typedef unsigned uint32_t;
#endif

#include <climits>

#include <windows.h>
Expand Down

0 comments on commit 7b672f8

Please sign in to comment.