mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-08-18 02:37:40 +08:00
Fix compilation issues on Windows
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user