60f31873af9d3f457d65969516fe16eed18123da
[m6w6/ext-apfd] / php_apfd.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: apfd |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2015, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_APFD_H
14 #define PHP_APFD_H
15
16 extern zend_module_entry apfd_module_entry;
17 #define phpext_apfd_ptr &apfd_module_entry
18
19 #define PHP_APFD_VERSION "1.0.0RC1"
20
21 #ifdef PHP_WIN32
22 # define PHP_APFD_API __declspec(dllexport)
23 #elif defined(__GNUC__) && __GNUC__ >= 4
24 # define PHP_APFD_API extern __attribute__ ((visibility("default")))
25 #else
26 # define PHP_APFD_API extern
27 #endif
28
29 #ifdef ZTS
30 # include "TSRM.h"
31 #endif
32
33 #endif /* PHP_APFD_H */
34
35
36 /*
37 * Local variables:
38 * tab-width: 4
39 * c-basic-offset: 4
40 * End:
41 * vim600: noet sw=4 ts=4 fdm=marker
42 * vim<600: noet sw=4 ts=4
43 */