use '#pragma message' instead of '#warning' when vc++ is used

SVN revision: 55527
This commit is contained in:
Vincent Torri 2010-12-12 22:49:01 +00:00
parent 27a9f2f86e
commit 202d5b65f4
1 changed files with 7 additions and 2 deletions

View File

@ -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 <Eina.h>