Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit c8dc91f

Browse files
authored
Merge pull request #17 from flibitijibibo/master
Add preprocessor guard to GUID typedef
2 parents f41a8f5 + b275814 commit c8dc91f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/native/windows/windows_base.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,15 @@ typedef uint64_t ULONGLONG;
5353

5454
typedef float FLOAT;
5555

56+
#ifndef GUID_DEFINED
57+
#define GUID_DEFINED
5658
typedef struct GUID {
5759
uint32_t Data1;
5860
uint16_t Data2;
5961
uint16_t Data3;
6062
uint8_t Data4[8];
6163
} GUID;
64+
#endif // GUID_DEFINED
6265

6366
typedef GUID UUID;
6467
typedef GUID IID;

0 commit comments

Comments
 (0)