Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e582f5c

Browse files
committed
Merge pull request aeron-io#283 from zaphoyd/master
Add define guard to definition of __STDC_LIMIT_MACROS
2 parents 579a601 + 10e7506 commit e582f5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main/cpp/sbe/sbe.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#ifndef _SBE_HPP_
1717
#define _SBE_HPP_
1818

19-
#define __STDC_LIMIT_MACROS 1
19+
#if !defined(__STDC_LIMIT_MACROS)
20+
#define __STDC_LIMIT_MACROS 1
21+
#endif
2022
#include <string.h>
2123
#include <stdint.h>
2224
#include <limits.h>

0 commit comments

Comments
 (0)