Skip to content

Commit

Permalink
Fix potential -Wmacro-redefined warning in TestInetCommonOptions.cpp (#…
Browse files Browse the repository at this point in the history
…30100)

Add a guard around force defining __STDC_FORMAT_MACROS, which may be
defined centrally.
  • Loading branch information
mspang authored and pull[bot] committed Mar 13, 2024
1 parent c3ce788 commit 1383466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inet/tests/TestInetCommonOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif

#include "TestInetCommonOptions.h"

Expand Down

0 comments on commit 1383466

Please sign in to comment.