Fix compilation issues on Windows

This commit is contained in:
Thiago Alves
2025-09-10 10:23:45 -04:00
committed by GitHub
parent f52484f9b3
commit 44ae21ae2e
2 changed files with 10 additions and 5 deletions
+9 -4
View File
@@ -1,7 +1,12 @@
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef __linux__
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#else
#include <sys/mman.h>
#include <unistd.h>
#endif
extern "C" void openplc_log(char *logmsg);
extern "C" int create_shm_name(char *buf, size_t size);
+1 -1
View File
@@ -134,7 +134,7 @@ login_body = """
<button>login</button>
</form>
</div>
<h3 style="font-family:'roboto', sans-serif; font-size:14px; color:#ffffff;">Release: 2025-09-08</h3>
<h3 style="font-family:'roboto', sans-serif; font-size:14px; color:#ffffff;">Release: 2025-09-10</h3>
</div>
</div>
</body>