Skip to content

Commit 96f0608

Browse files
fix(mingw): get rid of MinGW's stupid interface macro definition
In [1], they defined interface to struct although the code is not Object-C or Object-C++. It's stupid and violate C/C++ standard: all identifiers used by compiler or standard library should either be a keyword, or be start with an underline plus a uppercase latter or two underline to avoid conflict with user defined identifiers. [1]: mingw-w64/mingw-w64@a51690d Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
1 parent 2650c49 commit 96f0608

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

driver/driver.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#pragma once
22

3+
#ifdef interface
4+
# undef interface
5+
#endif
6+
37
enum euicc_driver_type {
48
DRIVER_APDU,
59
DRIVER_HTTP,

0 commit comments

Comments
 (0)