From 19d5b02341e8d93ab985e95ff7aa6c6c7c5c66a3 Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Wed, 4 Dec 2024 23:48:51 +0000 Subject: [PATCH] fix: remove use of USERPROG compiler flag specific code when the flag is disabled --- src/threads/thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/threads/thread.c b/src/threads/thread.c index b512aee..5a292b5 100644 --- a/src/threads/thread.c +++ b/src/threads/thread.c @@ -259,7 +259,6 @@ thread_create (const char *name, int priority, return TID_ERROR; } -#define USERPROG #ifdef USERPROG /* Initialize the thread's file descriptor table. */ t->fd_counter = MINIMUM_USER_FD;