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

Commit

Permalink
Merge pull request #17 from flibitijibibo/master
Browse files Browse the repository at this point in the history
Add preprocessor guard to GUID typedef
  • Loading branch information
misyltoad authored Jul 26, 2022
2 parents f41a8f5 + b275814 commit c8dc91f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/native/windows/windows_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ typedef uint64_t ULONGLONG;

typedef float FLOAT;

#ifndef GUID_DEFINED
#define GUID_DEFINED
typedef struct GUID {
uint32_t Data1;
uint16_t Data2;
uint16_t Data3;
uint8_t Data4[8];
} GUID;
#endif // GUID_DEFINED

typedef GUID UUID;
typedef GUID IID;
Expand Down

0 comments on commit c8dc91f

Please sign in to comment.