]> granicus.if.org Git - php/commitdiff
- #50854, fix build on non windows
authorPierre Joye <pajoye@php.net>
Wed, 27 Jan 2010 07:48:31 +0000 (07:48 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 27 Jan 2010 07:48:31 +0000 (07:48 +0000)
main/php.h

index 9c3124cf99f1aed218d01417d74c5de76c0973c5..e858e3c42401e6b660896b143ab52fa898624164 100644 (file)
@@ -309,8 +309,9 @@ PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1,
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5);
 PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...)
        PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6);
+#ifdef PHP_WIN32
 PHPAPI void php_win32_docref2_from_error(DWORD error, const char *param1, const char *param2 TSRMLS_DC);
-
+#endif
 END_EXTERN_C()
 
 #define php_error_docref php_error_docref0