Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 52 lines (48 sloc) 1.965 kB
7338039 @ecaron Setting up my own GitHub repo for resolving some outstanding Solr PEC…
authored
1 /*
2 +----------------------------------------------------------------------+
3 | PHP Version 5 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997-2009 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Author: Israel Ekpo <iekpo@php.net> |
16 +----------------------------------------------------------------------+
17 */
18
19 /* $Id: php_solr_api.h 288601 2009-09-23 03:43:20Z iekpo $ */
20
21 /**
22 * Declaring Macro for function attributes
23 *
24 * This is for functions on GNU systems and Win32 systems
25 *
26 * On Win32 systems __declspec(dllexport) adds the export directive to the
27 * object file so you do not need to use a .def file
28 *
29 * Using __declspec(dllexport) in addition to using a .def file should
30 * not cause build errors.
31 */
32 #ifndef PHP_SOLR_API_H
33 #define PHP_SOLR_API_H
34 #ifdef PHP_WIN32
35 #define PHP_SOLR_API __declspec(dllexport)
36 #elif defined(__GNUC__) && __GNUC__ >= 4
37 #define PHP_SOLR_API __attribute__ ((visibility("default")))
38 #else
39 #define PHP_SOLR_API
40 #endif
41 #endif /* PHP_SOLR_API_H */
42
43 /*
44 * Local variables:
45 * tab-width: 4
46 * c-basic-offset: 4
47 * indent-tabs-mode: t
48 * End:
49 * vim600: fdm=marker
50 * vim: noet sw=4 ts=4
51 */
Something went wrong with that request. Please try again.