diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2022-09-04 14:47:00 +0200 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2023-01-28 11:38:53 +0100 |
commit | 9fb5e2edb2adf7f40597b01320c8cc926b4bb57f (patch) | |
tree | 162ca8609f34e3d2221f06367cf29cb07b12f35c /libusb/version_nano.h | |
parent | 54350bd83fbcc9555abc57988d6fd73f3b9e9ff8 (diff) | |
download | libusb-9fb5e2edb2adf7f40597b01320c8cc926b4bb57f.tar.gz |
windows: Omit -mwin32 GCC option for MSYS/MinGW
Only keep it for Cygwin.
Clang doesn't support this option, and it seems only needed for
Cygwin since MinGW predefines e.g. the _WIN32 macro anyway.
From GCC documentation: -mwin32 This option is available for Cygwin
and MinGW targets. It specifies that the typical Microsoft Windows
predefined macros are to be set in the pre-processor, but does not
influence the choice of runtime library/startup code.
References #1192
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r-- | libusb/version_nano.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 0229c60..a346258 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11779 +#define LIBUSB_NANO 11780 |