diff src/utils.c @ 10:42ac054c0231

*: huge refactoring dirtools now uses wchar (wayyy overdue) the timer doesn't have a stupid design anymore we don't use windows.h at all now ...
author Paper <paper@paper.us.eu.org>
date Sun, 11 Feb 2024 19:43:31 -0500
parents 07f0e2f43204
children e6a594f16403
line wrap: on
line diff
--- a/src/utils.c	Fri Dec 16 21:55:37 2022 -0500
+++ b/src/utils.c	Sun Feb 11 19:43:31 2024 -0500
@@ -3,10 +3,9 @@
  *
  * Useful utilities for general use.
 **/
-#ifndef WIN32_LEAN_AND_MEAN
-#  define WIN32_LEAN_AND_MEAN
-#endif
-#include <windows.h>
+#include "utils.h"
+
+#include <sysinfoapi.h>
 #include <stdint.h>
 
 uint64_t get_system_time_in_milliseconds(void) {