Skip to content
Snippets Groups Projects
Commit 74dab1d5 authored by Martin Kaltenbrunner's avatar Martin Kaltenbrunner
Browse files

fix windows build

parent 95ad8d81
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
#include "WebSockSender.h"
#if defined (WIN32) && !defined (int32_t)
#if defined (WIN32) && !defined (_STDINT)
typedef DWORD int32_t;
#endif
......
......@@ -354,6 +354,7 @@ static void show_help() {
static void init(int argc, char** argv) {
char c;
#ifndef WIN32
while ((c = getopt(argc, argv, "p:a:tfvh")) != -1) {
switch (c) {
case 't':
......@@ -379,6 +380,7 @@ static void init(int argc, char** argv) {
exit(1);
}
}
#endif
}
#ifdef __APPLE__
......
......@@ -91,6 +91,7 @@ static void show_help() {
static void init(int argc, char** argv) {
char c;
#ifndef WIN32
while ((c = getopt(argc, argv, "p:a:th")) != -1) {
switch (c) {
case 't':
......@@ -110,6 +111,7 @@ static void init(int argc, char** argv) {
exit(1);
}
}
#endif
}
int main(int argc, char* argv[])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment