Skip to content

Commit f0c1cd5

Browse files
author
Jani Taskinen
committed
- ws
1 parent 34dd94b commit f0c1cd5

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

ext/iconv/php_iconv.h

+9-11
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
#define PHP_ICONV_H
2424

2525
#ifdef PHP_WIN32
26-
# ifdef PHP_ICONV_EXPORTS
27-
# define PHP_ICONV_API __declspec(dllexport)
28-
# else
29-
# define PHP_ICONV_API __declspec(dllimport)
30-
# endif
26+
# ifdef PHP_ICONV_EXPORTS
27+
# define PHP_ICONV_API __declspec(dllexport)
28+
# else
29+
# define PHP_ICONV_API __declspec(dllimport)
30+
# endif
3131
#elif defined(__GNUC__) && __GNUC__ >= 4
32-
# define PHP_ICONV_API __attribute__ ((visibility("default")))
32+
# define PHP_ICONV_API __attribute__ ((visibility("default")))
3333
#else
34-
# define PHP_ICONV_API
34+
# define PHP_ICONV_API
3535
#endif
3636

3737
#ifdef PHP_ATOM_INC
@@ -45,7 +45,6 @@
4545
#include "ext/iconv/php_php_iconv_h_path.h"
4646
#endif
4747

48-
4948
#ifdef HAVE_ICONV
5049
extern zend_module_entry iconv_module_entry;
5150
#define iconv_module_ptr &iconv_module_entry
@@ -73,9 +72,9 @@ ZEND_BEGIN_MODULE_GLOBALS(iconv)
7372
ZEND_END_MODULE_GLOBALS(iconv)
7473

7574
#ifdef ZTS
76-
#define ICONVG(v) TSRMG(iconv_globals_id, zend_iconv_globals *, v)
75+
# define ICONVG(v) TSRMG(iconv_globals_id, zend_iconv_globals *, v)
7776
#else
78-
#define ICONVG(v) (iconv_globals.v)
77+
# define ICONVG(v) (iconv_globals.v)
7978
#endif
8079

8180
#ifdef HAVE_IBM_ICONV
@@ -122,7 +121,6 @@ PHP_ICONV_API php_iconv_err_t php_iconv_string(const char * in_p, size_t in_len,
122121

123122
#endif /* PHP_ICONV_H */
124123

125-
126124
/*
127125
* Local variables:
128126
* tab-width: 4

0 commit comments

Comments
 (0)