Browse Source

* Also for FreeBSD. Renamefest starting now.

marco 25 years ago
parent
commit
8d5dbb0717
1 changed files with 6 additions and 0 deletions
  1. 6 0
      compiler/Makefile.fpc

+ 6 - 0
compiler/Makefile.fpc

@@ -31,6 +31,12 @@ override FPCOPT+=-dUNIX
 endif
 endif
 
+ifeq ($(OS_TARGET),freebsd)
+ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
+override FPCOPT+=-dUNIX
+endif
+endif
+
 # Don't export OS_SOURCE because it can change after the first compile
 unexport OS_SOURCE FPC_VERSION