We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01822d2 + c9be38f commit 81c2cb0Copy full SHA for 81c2cb0
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
@@ -935,12 +935,10 @@ private static CharSequence generateFileHeader(
935
"#if !defined(__STDC_LIMIT_MACROS)\n" +
936
"# define __STDC_LIMIT_MACROS 1\n" +
937
"#endif\n" +
938
- "#include <string.h>\n" +
939
- "#include <stdint.h>\n" +
940
- "#include <limits.h>\n" +
941
- "#include <stdexcept>\n" +
942
"#include <cstdint>\n" +
943
- "#include <limits>\n\n" +
+ "#include <cstring>\n" +
+ "#include <limits>\n" +
+ "#include <stdexcept>\n\n" +
944
"#if defined(WIN32) || defined(_WIN32)\n" +
945
"# define SBE_BIG_ENDIAN_ENCODE_16(v) _byteswap_ushort(v)\n" +
946
"# define SBE_BIG_ENDIAN_ENCODE_32(v) _byteswap_ulong(v)\n" +
0 commit comments