Chance "_WIN64" checks to "_WIN32"
_WIN32 is defined on both 32-bit and 64-bit windows systems, so might as well just use that.
This commit is contained in:
parent
325ff2ce7d
commit
05a4079418
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#ifndef _WIN64
|
||||
#ifndef _WIN32
|
||||
#include <argp.h>
|
||||
|
||||
error_t parseOptions(int key, char* arg, struct argp_state* state);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue