NATIVE IMAGE HANDLING
***********************************************************************/
+#if HAVE_NATIVE_IMAGE_API
static bool
image_can_use_native_api (Lisp_Object type)
{
-#if HAVE_NATIVE_IMAGE_API
# ifdef HAVE_NTGUI
return w32_can_use_native_image_api (type);
# else
return false;
# endif
-#else
- return false;
-#endif
}
-#if HAVE_NATIVE_IMAGE_API
-
/*
* These functions are actually defined in the OS-native implementation
* file. Currently, for Windows GDI+ interface, w32image.c, but other
#ifdef WINDOWSNT
Lisp_Object typesym = builtin_lisp_symbol (type->type);
+# if HAVE_NATIVE_IMAGE_API
if (image_can_use_native_api (typesym))
return true;
+# endif
Lisp_Object tested = Fassq (typesym, Vlibrary_cache);
/* If we failed to load the library before, don't try again. */