forked from pool/pcsc-towitoko
* Remove bool typedef as not needed and not used in the code * Add towitoko-gcc15.patch OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-towitoko?expand=0&rev=11
15 lines
420 B
Diff
15 lines
420 B
Diff
Index: towitoko-linux-2.0.8/src/driver/defines.h
|
|
===================================================================
|
|
--- towitoko-linux-2.0.8.orig/src/driver/defines.h
|
|
+++ towitoko-linux-2.0.8/src/driver/defines.h
|
|
@@ -48,7 +48,8 @@
|
|
|
|
typedef unsigned char BYTE;
|
|
#ifndef __cplusplus
|
|
-typedef int bool;
|
|
+/* typedef int bool; */
|
|
+#include <stdbool.h>
|
|
#endif
|
|
typedef unsigned short USHORT;
|
|
typedef unsigned char UCHAR;
|