clean up c code
This commit is contained in:
parent
0bb81e5dee
commit
4674135569
@ -5,13 +5,8 @@ project('postgresqldemo',
|
|||||||
default_options : [ 'b_ofast=if-release', 'b_march_native=if-release', 'b_ndebug=if-release' ]
|
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')
|
pg_dep = dependency('libpq', version : '>=8.0')
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
|
||||||
|
|
||||||
sources = ['postgresql_demo.c']
|
sources = ['postgresql_demo.c']
|
||||||
|
|
||||||
exe = executable('postgresql_demo',
|
exe = executable('postgresql_demo',
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include <stdio.h>
|
||||||
#include <libpq-fe.h>
|
#include <libpq-fe.h>
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user