Fix for Linux builds

This commit is contained in:
Jason Watkins
2015-05-01 09:01:21 -07:00
parent 8ed6b39779
commit 796fd0f7aa
9 changed files with 414 additions and 392 deletions

View File

@@ -73,7 +73,7 @@
#define RECVPORT 49009 // Port that the plugin receives commands on
#define OPS_PER_CYCLE 20 // Max Number of operations per cycle
XPC::UDPSocket* sock = nullptr;
XPC::UDPSocket* sock = NULL;
double start,lap;
static double timeConvert = 0.0;
@@ -125,7 +125,7 @@ PLUGIN_API void XPluginDisable(void)
{
// Close sockets
delete sock;
sock = nullptr;
sock = NULL;
// Stop rendering messages to screen.
XPC::Drawing::ClearMessage();