Browse Source

clean up c code

Chris Cromer 7 months ago
parent
commit
4674135569
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
2 changed files with 1 additions and 5 deletions
  1. 0
    5
      c/meson.build
  2. 1
    0
      c/postgresql_demo.c

+ 0
- 5
c/meson.build View File

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

+ 1
- 0
c/postgresql_demo.c View File

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

Loading…
Cancel
Save