X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=contrib%2Fprtview%2Fportals.cpp;h=7a2d99d15ee76bea40ca854201e4a147d2d1a66c;hb=455026606be8472bd8f349124aeb5e06624d986d;hp=0522fe40e3e3b0c873517472bb7f4a3ac75d0566;hpb=0311de363b4b54196e89d254fefbcb79d39342af;p=xonotic%2Fnetradiant.git diff --git a/contrib/prtview/portals.cpp b/contrib/prtview/portals.cpp index 0522fe40..7a2d99d1 100644 --- a/contrib/prtview/portals.cpp +++ b/contrib/prtview/portals.cpp @@ -18,9 +18,10 @@ */ #include "portals.h" +#include "globaldefs.h" #include #include -#ifndef __APPLE__ +#if !GDEF_OS_MACOS #include #endif #include @@ -30,7 +31,7 @@ #include "prtview.h" -#define LINE_BUF 1000 +const int LINE_BUF = 1000; CPortals portals; CPortalsRender render;