diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 08:52:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 08:52:43 +0100 |
commit | cd8e720b0602434480e84d492346fa68419c3df0 (patch) | |
tree | 9293a62e3612a6b8bbdc3e6107d6038398c0c9cb /soltools | |
parent | 3c53b783f3578ffe26e5812c00ba7bffb41bfa86 (diff) |
-Werror,-Wunused-macros
Whatever those _POSIX_ for _MSV_VER were supposed to be good for (have been in
there at least ever since 4f4b74153d27a9579c49b225b2690e7f9416fe78 "Moved cpp
from cpp to soltools"), but cause -Wunused-macros at least when building with
clang-cl.
Change-Id: I356bf663cd1e86298ba72a179f46bb9d0c10016b
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_include.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_macro.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c index 2d4b919f21e0..1ddba80802b6 100644 --- a/soltools/cpp/_include.c +++ b/soltools/cpp/_include.c @@ -23,9 +23,6 @@ # include <unistd.h> #endif -#ifdef _MSC_VER -# define _POSIX_ -#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c index 318b7f132f56..70b6ba824842 100644 --- a/soltools/cpp/_macro.c +++ b/soltools/cpp/_macro.c @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifdef _MSC_VER -# define _POSIX_ -#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |