Skip to content

Commit

Permalink
remove asprintf wrap
Browse files Browse the repository at this point in the history
asprintf is in posix 2024
  • Loading branch information
LizzyFleckenstein03 committed Aug 3, 2024
1 parent 46bd431 commit 72c090d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ add_project_arguments([
'-Wno-address-of-packed-member',
'-DGLEW_NO_GLU',
'-DUSE_DRAGONNET',
'-D_GNU_SOURCE', # TODO: remove once posix 2024 is in glibc
'-DASSET_PATH="' + get_option('asset_path') + '"',
], language: 'c')

Expand Down Expand Up @@ -99,7 +100,6 @@ executable('dragonblocks-client',
dependency('glew'),
dependency('gl'),
dependency('glfw3'),
dependency('asprintf'),
dependency('linenoise'),
dependency('freetype2'),
],
Expand Down
1 change: 0 additions & 1 deletion src/client/client_entity.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <asprintf.h>
#include <dragonstd/map.h>
#include <inttypes.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion src/client/client_inventory.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <asprintf.h>
#include <stdio.h>
#include <stdlib.h>
#include "client/client_config.h"
Expand Down
1 change: 0 additions & 1 deletion src/client/debug_menu.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <asprintf.h>
#include <GL/glew.h>
#include <GL/gl.h>
#include <stdbool.h>
Expand Down
1 change: 0 additions & 1 deletion src/client/input.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <asprintf.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
1 change: 0 additions & 1 deletion src/client/terrain_gfx.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <assert.h>
#include <asprintf.h>
#include <linmath.h>
#include <stdio.h>
#include <stdlib.h>
Expand Down
8 changes: 0 additions & 8 deletions subprojects/asprintf.wrap

This file was deleted.

0 comments on commit 72c090d

Please sign in to comment.