comparison src/main.c @ 13:a4e604789e2e

Multiple changes Move non-required includes from common.h to CLI and fix GUI compatibility with MSVC
author Paper <mrpapersonic@gmail.com>
date Tue, 01 Feb 2022 21:01:29 -0500
parents d2cd8c5672fa
children 8bcb6a2d3def
comparison
equal deleted inserted replaced
9:d2cd8c5672fa 13:a4e604789e2e
1 /* Movie Studio / Vegas Pro version spoofer
2 * by Paper
3 */
4
5 #include <inttypes.h> 1 #include <inttypes.h>
6 #include <stdbool.h> 2 #include <stdbool.h>
7 #include <stdio.h> 3 #include <stdio.h>
8 #include <stdlib.h> 4 #include <stdlib.h>
9 #include <string.h> 5 #include <string.h>
10 #include "../include/common.h" 6 #include <unistd.h>
7 #include <getopt.h>
11 #ifdef _MSC_VER 8 #ifdef _MSC_VER
12 #define strdup(p) _strdup(p) 9 #define strdup(p) _strdup(p)
13 #endif 10 #endif
14 11
15 static struct option options_long[] = { 12 static struct option options_long[] = {