adapted for C23

This commit is contained in:
2026-01-27 14:38:31 +02:00
parent 149cb094c2
commit bc42f3a72f
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
CFLAGS := -ggdb -Wall -pedantic -lpq -lcrypto CFLAGS := -ggdb -Wextra -pedantic -std=c23 -lpq -lcrypto
SRC_DIR := src SRC_DIR := src
OBJ_DIR := src/obj OBJ_DIR := src/obj
+4
View File
@@ -14,6 +14,10 @@
#define FILE_USER_LIST_NAME "userlist" #define FILE_USER_LIST_NAME "userlist"
#define WELCOME_FILE_NAME "welcome" #define WELCOME_FILE_NAME "welcome"
#ifndef __USE_MISC
#define __USE_MISC
#endif
enum sess_states { enum sess_states {
OP_EDIT_FILE, OP_EDIT_FILE,
OP_DOWNLOAD, OP_DOWNLOAD,