From 05a407941828a66438d3b5d3fdd3639ebfda85da Mon Sep 17 00:00:00 2001
From: Epicalert <epicalert@protonmail.com>
Date: Sun, 13 Jun 2021 19:02:57 +0800
Subject: [PATCH] Chance "_WIN64" checks to "_WIN32"

_WIN32 is defined on both 32-bit and 64-bit windows systems, so might as
well just use that.
---
 src/args.cpp | 4 ++--
 src/args.hpp | 2 +-
 src/main.cpp | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/args.cpp b/src/args.cpp
index bed7a73..b4f8102 100644
--- a/src/args.cpp
+++ b/src/args.cpp
@@ -8,7 +8,7 @@ const char* argp_program_version =
 	"available at <git://git.epicalert.xyz/facecam2d.git> or the\n"
 	"GitLab mirror at <https://gitlab.com/epicalert/facecam2d.git>.";
 
-#ifndef _WIN64
+#ifndef _WIN32
 const struct argp_option options[] = {
 	//name, key, arg, flags, doc, group
 	{"haar-cascade",	0x00,	0,		0,	"Use Haar Cascades for faster (but less accurate) face detection.",	0},
@@ -29,7 +29,7 @@ struct optData optData = {
 	"test",
 };
 
-#ifndef _WIN64
+#ifndef _WIN32
 error_t parseOptions(int key, char* arg, struct argp_state* state) {
 	switch (key) {
 		case 0x00:	//--haar-cascade
diff --git a/src/args.hpp b/src/args.hpp
index 7969dfd..8e4edc0 100644
--- a/src/args.hpp
+++ b/src/args.hpp
@@ -3,7 +3,7 @@
 
 #include <string>
 
-#ifndef _WIN64
+#ifndef _WIN32
 #include <argp.h>
 
 error_t parseOptions(int key, char* arg, struct argp_state* state);
diff --git a/src/main.cpp b/src/main.cpp
index 11329d4..bdf7b58 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -9,7 +9,7 @@
 #include <cstring>
 
 int main (int argc, char** argv) {
-#ifndef _WIN64
+#ifndef _WIN32
 	argp_parse(&argp, argc, argv, 0, 0, 0);
 #endif