Skip to content

Commit 13b0766

Browse files
Zegeriq4a
authored andcommitted
Mark some stuff as FIXMEs for a later time
1 parent 635f82a commit 13b0766

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

src/xrCore/xrCore.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,10 @@ void xrCore::Initialize(pcstr _ApplicationName, pcstr commandLine, LogCallback c
280280
EFS._initialize();
281281
#ifdef DEBUG
282282
#ifndef _EDITOR
283+
#ifndef LINUX // FIXME!!!
283284
Msg("Process heap 0x%08x", GetProcessHeap());
284285
#endif
286+
#endif
285287
#endif // DEBUG
286288
}
287289
SetLogCB(cb);

src/xrEngine/EventAPI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,10 @@ void msParse(LPCSTR c)
150150
}
151151
if (0 == xr_stricmp(c, "quit"))
152152
{
153+
#ifndef LINUX // FIXME!!!
153154
TerminateProcess(GetCurrentProcess(), 0);
154155
Console->Execute("quit");
156+
#endif
155157
}
156158
}
157159
#endif

src/xrEngine/mailSlot.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
#pragma hdrstop
33

44
#ifdef DEBUG
5-
5+
#ifndef LINUX // FIXME!!!
66
static HANDLE hLocalSlot = INVALID_HANDLE_VALUE;
7-
7+
#endif
88
extern void msParse(LPCSTR cmd);
99

1010
void msCreate(LPCSTR name)
1111
{
12+
#ifndef LINUX // FIXME!!!
1213
string256 fn;
1314
xr_sprintf(fn, sizeof(fn), "\\\\.\\mailslot\\%s", name);
1415
hLocalSlot = CreateMailslot(fn,
@@ -18,10 +19,12 @@ void msCreate(LPCSTR name)
1819
if (hLocalSlot == INVALID_HANDLE_VALUE)
1920
return;
2021
// Msg ("* mailSLOT successfully created.");
22+
#endif
2123
}
2224

2325
void msRead(void)
2426
{
27+
#ifndef LINUX // FIXME!!!
2528
DWORD cbMessage, cMessage, cbRead;
2629
BOOL fResult;
2730
LPSTR lpszBuffer;
@@ -57,10 +60,12 @@ void msRead(void)
5760
if (!fResult)
5861
return;
5962
}
63+
#endif
6064
}
6165

6266
void msWrite(char* name, char* dest, char* msg)
6367
{
68+
#ifndef LINUX // FIXME!!!
6469
HANDLE hFile;
6570
DWORD cbWritten;
6671
BOOL fResult;
@@ -74,6 +79,7 @@ void msWrite(char* name, char* dest, char* msg)
7479
return;
7580
fResult = WriteFile(hFile, msg, (u32)lstrlen(msg) + 1, &cbWritten, (LPOVERLAPPED)NULL);
7681
fResult = CloseHandle(hFile);
82+
#endif
7783
}
7884

7985
#endif

0 commit comments

Comments
 (0)