Browse Source

clean up c code

master
Chris Cromer 1 year ago
parent
commit
4674135569
Signed by: cromer <cromer@cromnix.org> 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',
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
- 0
c/postgresql_demo.c View File

@@ -1,3 +1,4 @@
#include <stdio.h>
#include <libpq-fe.h>

int main(int argc, char *argv[]) {


Loading…
Cancel
Save