[vlc-commits] Reverse NPP_GetMIMEDescription constness check
Rafaël Carré
git at videolan.org
Wed Dec 19 17:44:50 CET 2012
npapi-vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Dec 19 17:41:17 2012 +0100| [e2200b719e741aa55ac769c07e6e6f68a7f2f7eb] | committer: Rafaël Carré
Reverse NPP_GetMIMEDescription constness check
If the headers are absent, we assume the headers use const since we'll
fetch the latest version available
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=e2200b719e741aa55ac769c07e6e6f68a7f2f7eb
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 42b70b1..7a63f5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,13 +223,13 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#endif
#include <stdint.h>
#include <npapi.h>
- const char *NPP_GetMIMEDescription(void);
+ char *NPP_GetMIMEDescription(void);
])],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(NPP_GET_MIME_CONST, [const], [Whether NPP_GetMIMEDescription returns const])
-],[
AC_MSG_RESULT(no)
AC_DEFINE(NPP_GET_MIME_CONST, [], [Whether NPP_GetMIMEDescription returns const])
+],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(NPP_GET_MIME_CONST, [const], [Whether NPP_GetMIMEDescription returns const])
])
CPPFLAGS="${CPPFLAGS_save}"
More information about the vlc-commits
mailing list