Explorar o código

* Found and fixed a define ifdef error

svn: 190
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
dce2c4a023
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      build
  2. 1 1
      src/misc.c

+ 1 - 1
build

@@ -152,7 +152,7 @@ elif [ $hub = "1" ]; then
  fls="hub"
 fi
 
-if [ $d = "d" ]; then
+if test -n "$d"; then
  d="-debug"
 fi
 

+ 1 - 1
src/misc.c

@@ -1548,7 +1548,7 @@ void check_trace(int n)
   } else
     waitpid(x, NULL, 0);
 #endif /* __FreeBSD__ */
-#ifdef __OpenBD__
+#ifdef __OpenBSD__
   x = fork();
   if (x == -1)
     return;