Skip to content

Commit b1711b2

Browse files
committedJul 6, 2018
Define the __STDC_FORMAT_MACROS to avoid test failure on some platforms.
ompt/misc/api_calls_from_other_thread.cpp ompt/misc/interoperability.cpp Differential Revision: https://reviews.llvm.org/D48984 llvm-svn: 336438
1 parent bb25e27 commit b1711b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎openmp/runtime/test/ompt/callback.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
#ifndef _BSD_SOURCE
12
#define _BSD_SOURCE
3+
#endif
24
#define _DEFAULT_SOURCE
35
#include <stdio.h>
6+
#ifndef __STDC_FORMAT_MACROS
7+
#define __STDC_FORMAT_MACROS
8+
#endif
49
#include <inttypes.h>
510
#include <omp.h>
611
#include <ompt.h>

0 commit comments

Comments
 (0)
Please sign in to comment.