Skip to content

Commit 19df2d7

Browse files
committed
Fix php_flock() warning on windows
1 parent b5b160c commit 19df2d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php_phongo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ extern zend_module_entry mongodb_module_entry;
3535

3636
#ifdef PHP_WIN32
3737
# define PHONGO_API __declspec(dllexport)
38+
# include "ext/standard/flock_compat.h"
3839
#elif defined(__GNUC__) && __GNUC__ >= 4
3940
# define PHONGO_API __attribute__ ((visibility("default")))
4041
#else

0 commit comments

Comments
 (0)