Просмотр исходного кода

[Feat] [1.0.0] vmnet 使用 vmprocess 通信

xcbosa mbp16 2 месяцев назад
Родитель
Сommit
ba26a2638e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      post_sbin/getty.c

+ 3 - 0
post_sbin/getty.c

@@ -1,5 +1,8 @@
 #define _GNU_SOURCE
 #define _GNU_SOURCE
 
 
+#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
+#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
+
 #include <stdio.h>
 #include <stdio.h>
 #include <pthread.h>
 #include <pthread.h>
 #include <unistd.h>
 #include <unistd.h>