Skip to content

Commit bd9e906

Browse files
committed
Removed inline macros
1 parent e045cc8 commit bd9e906

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/dune

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
(library
22
(public_name postgresql)
33
(c_names postgresql_stubs)
4-
(c_flags
5-
(:standard) (:include c_flags.sexp) -O2 -fPIC -DPIC
6-
-Wno-keyword-macro
7-
)
4+
(c_flags (:standard) (:include c_flags.sexp) -O2 -fPIC -DPIC)
85
(c_library_flags (:include c_library_flags.sexp))
96
(libraries threads bigarray)
107
)

src/postgresql_stubs.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@
2424
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2525
*/
2626

27-
#if __GNUC__ >= 3
28-
# define inline inline __attribute__ ((always_inline))
29-
# define __unused __attribute__ ((unused))
30-
#else
31-
# define __unused
32-
# define inline
33-
#endif
34-
3527
#if PG_OCAML_MAJOR_VERSION > 8 \
3628
|| ( PG_OCAML_MAJOR_VERSION >= 8 && PG_OCAML_MINOR_VERSION >= 2)
3729
# define PG_OCAML_8_2

0 commit comments

Comments
 (0)