From 1237941f1c5b78ca24f1fc0c594e5eaef6054657 Mon Sep 17 00:00:00 2001
From: Adriano da Luz <al08@c3sl.ufpr.br>
Date: Wed, 29 Jun 2011 11:41:06 -0300
Subject: [PATCH] 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: Adriano da Luz <al08@c3sl.ufpr.br>
Acked-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Signed-off-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br>
---
 src/client.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/client.h b/src/client.h
index 9c220bd..55fba71 100644
--- a/src/client.h
+++ b/src/client.h
@@ -34,9 +34,11 @@
 #ifdef _WIN32
     #define EXEFILE "bin/client.exe"
     #define COLLECTDATAFILE "data/collect-data.xml"
+    #define OS 1
 #else
     #define EXEFILE "bin/client"
     #define COLLECTDATAFILE "../data/collect-data.xml"
+    #define OS 0
 #endif
 #define UPDATEOPTION "update"
 #define INVENTORYOPTION "inventory"
-- 
GitLab