adapted for C23
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user