From 202d5b65f4f5a81f000b59586f6f08e1ba0f10b9 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 12 Dec 2010 22:49:01 +0000 Subject: [PATCH] use '#pragma message' instead of '#warning' when vc++ is used SVN revision: 55527 --- legacy/ecore/src/lib/ecore_win32/Ecore_Win32.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_win32/Ecore_Win32.h b/legacy/ecore/src/lib/ecore_win32/Ecore_Win32.h index 63e2d87281..91413358e6 100644 --- a/legacy/ecore/src/lib/ecore_win32/Ecore_Win32.h +++ b/legacy/ecore/src/lib/ecore_win32/Ecore_Win32.h @@ -7,8 +7,13 @@ */ #ifndef ECORE_WIN32_WIP_POZEFLKSD -# warning "You are using a work in progress API. This API is not stable" -# warning "and is subject to change. You use this at your own risk." +# ifdef _MSC_VER +# pragma message ("You are using a work in progress API. This API is not stable") +# pragma message ("and is subject to change. You use this at your own risk.") +# else +# warning "You are using a work in progress API. This API is not stable" +# warning "and is subject to change. You use this at your own risk." +# endif #endif #include