Skip to content

Commit 8f721a8

Browse files
author
q4a
authored
Merge pull request #2 from Zegeri/clean
Partially port xrGame
2 parents b2514bc + 18066ca commit 8f721a8

File tree

358 files changed

+1084
-2064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+1084
-2064
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo: required
44
dist: xenial
55
compiler:
66
- g++
7-
install: export CXX="g++-5"
7+
install: export CXX="g++-7"
88
os:
99
- linux
1010
before_script:
@@ -19,9 +19,9 @@ script:
1919
addons:
2020
apt:
2121
sources:
22-
- ubuntu-toolchain-r-test
22+
- sourceline: 'ppa:ubuntu-toolchain-r/test'
2323
packages:
24-
- g++-5
24+
- g++-7
2525
#branches:
2626
# only:
2727
# - linux

Externals/cximage/ximadef.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,15 @@ typedef struct tagcomplex {
9494
#include <string.h>
9595
#include <ctype.h>
9696

97+
#ifndef CXIMAGE_NO_WIN32_DEFINES
9798
typedef unsigned char BYTE;
9899
typedef unsigned short WORD;
99100
typedef unsigned long DWORD;
100101
typedef unsigned int UINT;
101102
typedef const char* LPCTSTR;
102-
103-
typedef DWORD COLORREF;
104103
typedef unsigned int HANDLE;
104+
#endif
105+
typedef DWORD COLORREF;
105106
typedef void* HRGN;
106107
typedef void* HDC;
107108

@@ -125,7 +126,7 @@ typedef int boolean;
125126
#define TCHAR char
126127
#define _T
127128
#endif
128-
129+
#ifndef CXIMAGE_NO_WIN32_DEFINES
129130
typedef struct tagRECT
130131
{
131132
long left;
@@ -139,7 +140,7 @@ typedef struct tagPOINT
139140
long x;
140141
long y;
141142
} POINT;
142-
143+
#endif
143144
typedef struct tagRGBQUAD {
144145
BYTE rgbBlue;
145146
BYTE rgbGreen;

0 commit comments

Comments
 (0)