From 168cd96f56e74da005f0fefe3193c96004f2d036 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Thu, 29 Apr 2021 07:36:59 +1000 Subject: [PATCH] Fix some warnings --- v2/internal/ffenestri/common.c | 3 +++ v2/internal/ffenestri/json.c | 2 ++ v2/internal/ffenestri/vec.c | 4 +++- v2/internal/ffenestri/vec.h | 2 +- v2/internal/ffenestri/windows/test/main.c | 10 ---------- 5 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 v2/internal/ffenestri/windows/test/main.c diff --git a/v2/internal/ffenestri/common.c b/v2/internal/ffenestri/common.c index fcec35642..c7d822d7e 100644 --- a/v2/internal/ffenestri/common.c +++ b/v2/internal/ffenestri/common.c @@ -1,3 +1,6 @@ +// +build !windows + + // // Created by Lea Anthony on 6/1/21. // diff --git a/v2/internal/ffenestri/json.c b/v2/internal/ffenestri/json.c index 34f8696d0..d62ff9a03 100644 --- a/v2/internal/ffenestri/json.c +++ b/v2/internal/ffenestri/json.c @@ -1,3 +1,5 @@ +// +build !windows + /* Copyright (C) 2011 Joseph A. Adams (joeyadams3.14159@gmail.com) All rights reserved. diff --git a/v2/internal/ffenestri/vec.c b/v2/internal/ffenestri/vec.c index 957d91d1b..6ab8bfa96 100644 --- a/v2/internal/ffenestri/vec.c +++ b/v2/internal/ffenestri/vec.c @@ -1,4 +1,6 @@ -/** +// +build !windows + +/** * Copyright (c) 2014 rxi * * This library is free software; you can redistribute it and/or modify it diff --git a/v2/internal/ffenestri/vec.h b/v2/internal/ffenestri/vec.h index 2871a09e2..19362c987 100644 --- a/v2/internal/ffenestri/vec.h +++ b/v2/internal/ffenestri/vec.h @@ -1,4 +1,4 @@ -/** +/** * Copyright (c) 2014 rxi * * This library is free software; you can redistribute it and/or modify it diff --git a/v2/internal/ffenestri/windows/test/main.c b/v2/internal/ffenestri/windows/test/main.c deleted file mode 100644 index d925253ec..000000000 --- a/v2/internal/ffenestri/windows/test/main.c +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include "../../ffenestri_windows.h" - -int main() { - struct Application *app = NewApplication("Wails ❤️ Unicode", 800, 600, 1, 1, 0, 0, 1, 0); -// SetMinWindowSize(app, 100, 100); -// SetMaxWindowSize(app, 800, 800); - Run(app,0, NULL); - return 0; -}