Browse Source

clean up c code

master
Chris Cromer 3 years ago
parent
commit
4674135569
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
  1. 5
      c/meson.build
  2. 1
      c/postgresql_demo.c

5
c/meson.build

@ -5,13 +5,8 @@ project('postgresqldemo',
default_options : [ 'b_ofast=if-release', 'b_march_native=if-release', 'b_ndebug=if-release' ]
)
#gtk_dep = dependency('gtk+-3.0', version : '>=3.0.0')
# gmodule-export-2.0 is needed to connect the handlers
#gmodule_dep = dependency('gmodule-export-2.0', version : '>=2.0')
pg_dep = dependency('libpq', version : '>=8.0')
cc = meson.get_compiler('c')
sources = ['postgresql_demo.c']
exe = executable('postgresql_demo',

1
c/postgresql_demo.c

@ -1,3 +1,4 @@
#include <stdio.h>
#include <libpq-fe.h>
int main(int argc, char *argv[]) {

Loading…
Cancel
Save