Skip to content

Commit 89bb724

Browse files
aixtoolsjorisvandenbossche
authored andcommitted
[Backport 14441] Update unpack_template.h (pandas-dev#14441)
USE_CASE_RANGE is a GNU C feature. This change will activate USE_CASE_RANGE on any platform when using GNU C and not on any platform when a different compiler is being used. closes pandas-dev#14373 (cherry picked from commit 794f792)
1 parent 68ca401 commit 89bb724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/src/msgpack/unpack_template.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#ifndef USE_CASE_RANGE
20-
#if !defined(_MSC_VER)
20+
#ifdef __GNUC__
2121
#define USE_CASE_RANGE
2222
#endif
2323
#endif

0 commit comments

Comments
 (0)