Ticket #1322: fix-kfreebsd-ftbfs.patch

File fix-kfreebsd-ftbfs.patch, 496 bytes (added by Vincent Cheng, 12 years ago)
  • build/premake/premake4/src/host/premake.h

    a b  
    1515#if defined(__linux__)
    1616#define PLATFORM_LINUX    (1)
    1717#define PLATFORM_STRING   "linux"
    18 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
     18#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
    1919#define PLATFORM_BSD      (1)
    2020#define PLATFORM_STRING   "bsd"
    2121#elif defined(__APPLE__) && defined(__MACH__)