[Openmp-commits] [PATCH] D29353: [OpenMP] Redefined macro warning in libomptarget
George Rokos via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 1 00:44:52 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293747: [OpenMP] Redefined macro warning in libomptarget (authored by grokos).
Changed prior to commit:
https://reviews.llvm.org/D29353?vs=86505&id=86587#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29353
Files:
openmp/trunk/libomptarget/src/omptarget.h
Index: openmp/trunk/libomptarget/src/omptarget.h
===================================================================
--- openmp/trunk/libomptarget/src/omptarget.h
+++ openmp/trunk/libomptarget/src/omptarget.h
@@ -198,7 +198,10 @@
fprintf(stderr, __VA_ARGS__); \
}
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
+#endif
+
#include <inttypes.h>
#define DPxMOD "0x%0*" PRIxPTR
#define DPxPTR(ptr) ((int)(2*sizeof(uintptr_t))), ((uintptr_t) (ptr))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29353.86587.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170201/3696acdc/attachment.bin>
More information about the Openmp-commits
mailing list