From 82b400b45c9078897aec754e9e019423c31dc132 Mon Sep 17 00:00:00 2001 From: aixiao Date: Mon, 30 Sep 2024 12:02:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCentos=207=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=89=BE=E4=B8=8D=E5=88=B0round()=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 8 ++++++++ Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9db145e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "C_Cpp.errorSquiggles": "disabled", + "files.associations": { + "string.h": "c", + "stdlib.h": "c", + "ip2region.h": "c" + } +} \ No newline at end of file diff --git a/Makefile b/Makefile index 67773ef..1da65d6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc STRIP := $(CROSS_COMPILE)strip CFLAGS += -g -Os -Wall -LIBS = -static +LIBS = -lm -static OBJ := denyip all: main.o ip2region.o xdb_searcher.o qqwry.o