ecere/sys/ECON: Fixed ECON Hexadecimal Support; Using it for bit classes
[sdk] / extras / timeTools.ec
index 9fa296a..223779a 100644 (file)
@@ -1,8 +1,12 @@
+#ifdef ECERE_STATIC
+public import static "ecere"
+#else
 public import "ecere"
+#endif
 
 Time QuickTime()
 {
-   DateTime time, t;
+   DateTime time;
    time.GetLocalTime();
    return time.hour * 60 * 60 + time.minute * 60 + time.second;
 }
@@ -28,4 +32,3 @@ public:
       }
    }
 }
-