Skip to content

Commit 794f792

Browse files
aixtoolsjreback
authored andcommitted
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
1 parent 65362aa commit 794f792

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)