Skip to content

Commit 8e21f59

Browse files
author
nitrocaster
committed
Platform.h: Remove Borland-specific stuff.
1 parent b57adb8 commit 8e21f59

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

src/xrCore/Platform.h

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -34,42 +34,8 @@
3434
#endif
3535

3636
#include <ctime>
37-
// work-around dumb borland compiler
38-
#ifdef __BORLANDC__
39-
#define ALIGN(a)
40-
41-
#include <vcl.h>
42-
#include <mmsystem.h>
43-
#include <stdint.h>
44-
#include <assert.h>
45-
#include <utime.h>
46-
#define _utimbuf utimbuf
47-
48-
// function redefinition
49-
#define fabsf(a) fabs(a)
50-
#define sinf(a) sin(a)
51-
#define asinf(a) asin(a)
52-
#define cosf(a) cos(a)
53-
#define acosf(a) acos(a)
54-
#define tanf(a) tan(a)
55-
#define atanf(a) atan(a)
56-
#define sqrtf(a) sqrt(a)
57-
#define expf(a) ::exp(a)
58-
#define floorf floor
59-
#define atan2f atan2
60-
#define logf log
61-
// float redefine
62-
#define _PC_24 PC_24
63-
#define _PC_53 PC_53
64-
#define _PC_64 PC_64
65-
#define _RC_CHOP RC_CHOP
66-
#define _RC_NEAR RC_NEAR
67-
#define _MCW_EM MCW_EM
68-
#else
6937
#define ALIGN(a) __declspec(align(a))
7038
#include <sys\utime.h>
71-
#endif
72-
7339

7440
#define NOGDICAPMASKS
7541
//#define NOSYSMETRICS

0 commit comments

Comments
 (0)