Commit e2200b71 authored by Rafaël Carré's avatar 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
parent 7492ab0d
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment