Skip to content
Snippets Groups Projects
Commit 1237941f authored by Adriano da Luz's avatar Adriano da Luz Committed by Danilo K. S. Yorinori
Browse files

client.h: Added constant to identify the operating system


This constant is set to 1 if the operating system is Windows. Otherwise,
the constant is set to 0.

Signed-off-by: default avatarAdriano da Luz <al08@c3sl.ufpr.br>
Acked-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent d64180fc
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,11 @@ ...@@ -34,9 +34,11 @@
#ifdef _WIN32 #ifdef _WIN32
#define EXEFILE "bin/client.exe" #define EXEFILE "bin/client.exe"
#define COLLECTDATAFILE "data/collect-data.xml" #define COLLECTDATAFILE "data/collect-data.xml"
#define OS 1
#else #else
#define EXEFILE "bin/client" #define EXEFILE "bin/client"
#define COLLECTDATAFILE "../data/collect-data.xml" #define COLLECTDATAFILE "../data/collect-data.xml"
#define OS 0
#endif #endif
#define UPDATEOPTION "update" #define UPDATEOPTION "update"
#define INVENTORYOPTION "inventory" #define INVENTORYOPTION "inventory"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment