|
3 | 3 |
|
4 | 4 | #ifdef _MSC_VER
|
5 | 5 |
|
6 |
| -// FIXME This is all questionable but the logs are flooded and nothing else is fixing them. |
7 |
| -#pragma warning(disable:4090) // W1: const problem |
8 |
| -#pragma warning(disable:4100) // W4: unreferenced formal parameter |
9 |
| -#pragma warning(disable:4152) // W4: nonstandard extension, function/data pointer conversion in expression |
10 |
| -#pragma warning(disable:4201) // W4: nonstandard extension used: nameless struct/union |
11 |
| -#pragma warning(disable:4210) // W4: nonstandard extension used: function given file scope |
12 |
| -#pragma warning(disable:4245) // W4: signed/unsigned mismatch |
13 |
| -#pragma warning(disable:4389) // W4: signed/unsigned mismatch |
14 |
| -#pragma warning(disable:4505) // W4: unreferenced function with internal linkage has been removed |
15 |
| -#pragma warning(disable:4702) // W4: unreachable code |
16 |
| -#pragma warning(disable:4706) // W4: assignment within conditional expression |
17 |
| - |
18 | 6 | #include <SDKDDKVer.h>
|
19 | 7 |
|
20 | 8 | #if _WIN32_WINNT < 0x0601
|
|
30 | 18 |
|
31 | 19 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
32 | 20 | #define HAVE_CLASSIC_WINAPI_SUPPORT 1
|
33 |
| - #define HAVE_UWP_WINAPI_SUPPORT 0 |
| 21 | + #define HAVE_APP_WINAPI_SUPPORT 0 |
34 | 22 | #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
35 | 23 | #define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
36 |
| - #define HAVE_UWP_WINAPI_SUPPORT 1 |
| 24 | + #define HAVE_APP_WINAPI_SUPPORT 1 |
37 | 25 | #else
|
38 | 26 | #define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
39 |
| - #define HAVE_UWP_WINAPI_SUPPORT 0 |
| 27 | + #define HAVE_APP_WINAPI_SUPPORT 0 |
40 | 28 | #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
41 | 29 | #error Unsupported WINAPI family
|
42 | 30 | #endif
|
|
105 | 93 | /* Target Platform is Linux (musl libc)*/
|
106 | 94 | #cmakedefine TARGET_LINUX_MUSL 1
|
107 | 95 |
|
108 |
| -/* Use classic Windows API support */ |
109 |
| -#cmakedefine HAVE_CLASSIC_WINAPI_SUPPORT 1 |
110 |
| - |
111 |
| -/* Don't use UWP Windows API support */ |
112 |
| -#cmakedefine HAVE_UWP_WINAPI_SUPPORT 1 |
113 |
| - |
114 | 96 | /* Define to 1 if you have the <sys/types.h> header file. */
|
115 | 97 | #cmakedefine HAVE_SYS_TYPES_H 1
|
116 | 98 |
|
|
135 | 117 | /* Define to 1 if you have the <syslog.h> header file. */
|
136 | 118 | #cmakedefine HAVE_SYSLOG_H 1
|
137 | 119 |
|
138 |
| -/* Define to 1 if you have the <sys/filio.h> header file. */ |
139 |
| -#cmakedefine HAVE_SYS_FILIO_H 1 |
140 |
| - |
141 | 120 | /* Define to 1 if you have the <sys/sockio.h> header file. */
|
142 | 121 | #cmakedefine HAVE_SYS_SOCKIO_H 1
|
143 | 122 |
|
144 | 123 | /* Define to 1 if you have the <netdb.h> header file. */
|
145 | 124 | #cmakedefine HAVE_NETDB_H 1
|
146 | 125 |
|
147 |
| -/* Define to 1 if you have the <utime.h> header file. */ |
148 |
| -#cmakedefine HAVE_UTIME_H 1 |
149 |
| - |
150 |
| -/* Define to 1 if you have the <sys/utime.h> header file. */ |
151 |
| -#cmakedefine HAVE_SYS_UTIME_H 1 |
152 |
| - |
153 | 126 | /* Define to 1 if you have the <semaphore.h> header file. */
|
154 | 127 | #cmakedefine HAVE_SEMAPHORE_H 1
|
155 | 128 |
|
|
210 | 183 | /* Define to 1 if you have the <unwind.h> header file. */
|
211 | 184 | #cmakedefine HAVE_UNWIND_H 1
|
212 | 185 |
|
213 |
| -/* Define to 1 if you have the <sys/user.h> header file. */ |
214 |
| -#cmakedefine HAVE_SYS_USER_H 1 |
215 |
| - |
216 | 186 | /* Use static ICU */
|
217 | 187 | #cmakedefine STATIC_ICU 1
|
218 | 188 |
|
|
308 | 278 | /* Disable sockets */
|
309 | 279 | #cmakedefine DISABLE_SOCKETS 1
|
310 | 280 |
|
311 |
| -/* Disables use of DllMaps in MonoVM */ |
312 |
| -#cmakedefine DISABLE_DLLMAP 1 |
313 |
| - |
314 | 281 | /* Disable Threads */
|
315 | 282 | #cmakedefine DISABLE_THREADS 1
|
316 | 283 |
|
|
323 | 290 | /* Define to 1 if you have the `sigaction' function. */
|
324 | 291 | #cmakedefine HAVE_SIGACTION 1
|
325 | 292 |
|
326 |
| -/* Define to 1 if you have the `kill' function. */ |
327 |
| -#cmakedefine HAVE_KILL 1 |
328 |
| - |
329 | 293 | /* CLOCK_MONOTONIC */
|
330 | 294 | #cmakedefine HAVE_CLOCK_MONOTONIC 1
|
331 | 295 |
|
|
365 | 329 | /* Define to 1 if you have the `madvise' function. */
|
366 | 330 | #cmakedefine HAVE_MADVISE 1
|
367 | 331 |
|
368 |
| -/* Define to 1 if you have the `getrusage' function. */ |
369 |
| -#cmakedefine HAVE_GETRUSAGE 1 |
370 |
| - |
371 | 332 | /* Define to 1 if you have the `dladdr' function. */
|
372 | 333 | #cmakedefine HAVE_DLADDR 1
|
373 | 334 |
|
|
380 | 341 | /* Define to 1 if you have the `prctl' function. */
|
381 | 342 | #cmakedefine HAVE_PRCTL 1
|
382 | 343 |
|
383 |
| -/* Define to 1 if you have the `nl_langinfo' function. */ |
384 |
| -#cmakedefine HAVE_NL_LANGINFO 1 |
385 |
| - |
386 | 344 | /* sched_getaffinity */
|
387 | 345 | #cmakedefine HAVE_SCHED_GETAFFINITY 1
|
388 | 346 |
|
389 | 347 | /* sched_setaffinity */
|
390 | 348 | #cmakedefine HAVE_SCHED_SETAFFINITY 1
|
391 | 349 |
|
392 |
| -/* Define to 1 if you have the `chmod' function. */ |
393 |
| -#cmakedefine HAVE_CHMOD 1 |
394 |
| - |
395 | 350 | /* Define to 1 if you have the `lstat' function. */
|
396 | 351 | #cmakedefine HAVE_LSTAT 1
|
397 | 352 |
|
398 |
| -/* Define to 1 if you have the `getdtablesize' function. */ |
399 |
| -#cmakedefine HAVE_GETDTABLESIZE 1 |
400 |
| - |
401 | 353 | /* Define to 1 if you have the `ftruncate' function. */
|
402 | 354 | #cmakedefine HAVE_FTRUNCATE 1
|
403 | 355 |
|
404 |
| -/* Define to 1 if you have the `msync' function. */ |
405 |
| -#cmakedefine HAVE_MSYNC 1 |
406 |
| - |
407 |
| -/* Define to 1 if you have the `getpeername' function. */ |
408 |
| -#cmakedefine HAVE_GETPEERNAME 1 |
409 |
| - |
410 |
| -/* Define to 1 if you have the `utime' function. */ |
411 |
| -#cmakedefine HAVE_UTIME 1 |
412 |
| - |
413 |
| -/* Define to 1 if you have the `utimes' function. */ |
414 |
| -#cmakedefine HAVE_UTIMES 1 |
415 |
| - |
416 | 356 | /* Define to 1 if you have the `openlog' function. */
|
417 | 357 | #cmakedefine HAVE_OPENLOG 1
|
418 | 358 |
|
|
443 | 383 | /* Have gethostbyname */
|
444 | 384 | #cmakedefine HAVE_GETHOSTBYNAME 1
|
445 | 385 |
|
446 |
| -/* Have getprotobyname */ |
447 |
| -#cmakedefine HAVE_GETPROTOBYNAME 1 |
448 |
| - |
449 |
| -/* Have getprotobyname_r */ |
450 |
| -#cmakedefine HAVE_GETPROTOBYNAME_R 1 |
451 |
| - |
452 |
| -/* Have getnameinfo */ |
453 |
| -#cmakedefine HAVE_GETNAMEINFO 1 |
454 |
| - |
455 |
| -/* Have inet_ntop */ |
456 |
| -#cmakedefine HAVE_INET_NTOP 1 |
457 |
| - |
458 |
| -/* Have inet_pton */ |
459 |
| -#cmakedefine HAVE_INET_PTON 1 |
460 |
| - |
461 |
| -/* Define to 1 if you have the `inet_aton' function. */ |
462 |
| -#cmakedefine HAVE_INET_ATON 1 |
463 |
| - |
464 | 386 | /* Define to 1 if you have the <pthread.h> header file. */
|
465 | 387 | #cmakedefine HAVE_PTHREAD_H 1
|
466 | 388 |
|
|
523 | 445 | /* sockaddr_in6 has sin6_len */
|
524 | 446 | #cmakedefine HAVE_SOCKADDR_IN6_SIN_LEN 1
|
525 | 447 |
|
526 |
| -/* Have getifaddrs */ |
527 |
| -#cmakedefine HAVE_GETIFADDRS 1 |
528 |
| - |
529 |
| -/* Have access */ |
530 |
| -#cmakedefine HAVE_ACCESS 1 |
531 |
| - |
532 | 448 | /* Have getpid */
|
533 | 449 | #cmakedefine HAVE_GETPID 1
|
534 | 450 |
|
535 | 451 | /* Have mktemp */
|
536 | 452 | #cmakedefine HAVE_MKTEMP 1
|
537 | 453 |
|
538 |
| -/* Define to 1 if you have the <sys/statvfs.h> header file. */ |
539 |
| -#cmakedefine HAVE_SYS_STATVFS_H 1 |
540 |
| - |
541 |
| -/* Define to 1 if you have the <sys/statfs.h> header file. */ |
542 |
| -#cmakedefine HAVE_SYS_STATFS_H 1 |
543 |
| - |
544 | 454 | /* Define to 1 if you have the <sys/mman.h> header file. */
|
545 | 455 | #cmakedefine HAVE_SYS_MMAN_H 1
|
546 | 456 |
|
547 | 457 | /* Define to 1 if you have the <sys/mount.h> header file. */
|
548 | 458 | #cmakedefine HAVE_SYS_MOUNT_H 1
|
549 | 459 |
|
550 |
| -/* Define to 1 if you have the `getfsstat' function. */ |
551 |
| -#cmakedefine HAVE_GETFSSTAT 1 |
552 |
| - |
553 | 460 | /* Define to 1 if you have the `mremap' function. */
|
554 | 461 | #cmakedefine HAVE_MREMAP 1
|
555 | 462 |
|
556 |
| -/* Define to 1 if you have the `posix_fadvise' function. */ |
557 |
| -#cmakedefine HAVE_POSIX_FADVISE 1 |
558 |
| - |
559 | 463 | /* Define to 1 if you have the `vsnprintf' function. */
|
560 | 464 | #cmakedefine HAVE_VSNPRINTF 1
|
561 | 465 |
|
562 |
| -/* struct statfs */ |
563 |
| -#cmakedefine HAVE_STATFS 1 |
564 |
| - |
565 |
| -/* Define to 1 if you have the `statvfs' function. */ |
566 |
| -#cmakedefine HAVE_STATVFS 1 |
567 |
| - |
568 | 466 | /* Define to 1 if you have the `setpgid' function. */
|
569 | 467 | #cmakedefine HAVE_SETPGID 1
|
570 | 468 |
|
571 | 469 | /* Define to 1 if you have the `system' function. */
|
572 | 470 | #ifdef _MSC_VER
|
573 |
| -#if HAVE_WINAPI_FAMILY_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) |
| 471 | +#if HAVE_CLASSIC_WINAPI_SUPPORT |
574 | 472 | #cmakedefine HAVE_SYSTEM 1
|
575 | 473 | #endif
|
576 | 474 | #else
|
|
580 | 478 | /* Define to 1 if you have the `fork' function. */
|
581 | 479 | #cmakedefine HAVE_FORK 1
|
582 | 480 |
|
583 |
| -/* Define to 1 if you have the `execv' function. */ |
584 |
| -#cmakedefine HAVE_EXECV 1 |
585 |
| - |
586 |
| -/* Define to 1 if you have the `execve' function. */ |
587 |
| -#cmakedefine HAVE_EXECVE 1 |
588 |
| - |
589 |
| -/* Define to 1 if you have the `waitpid' function. */ |
590 |
| -#cmakedefine HAVE_WAITPID 1 |
591 |
| - |
592 | 481 | /* Define to 1 if you have the `localtime_r' function. */
|
593 | 482 | #cmakedefine HAVE_LOCALTIME_R 1
|
594 | 483 |
|
|
609 | 498 | /* Define to 1 if the system has the type `struct sockaddr_in6'. */
|
610 | 499 | #cmakedefine HAVE_STRUCT_SOCKADDR_IN6 1
|
611 | 500 |
|
612 |
| -/* Define to 1 if the system has the type `struct stat'. */ |
613 |
| -#cmakedefine HAVE_STRUCT_STAT 1 |
614 |
| - |
615 |
| -/* Define to 1 if the system has the type `struct timeval'. */ |
616 |
| -#cmakedefine HAVE_STRUCT_TIMEVAL 1 |
617 |
| - |
618 |
| -/* Define to 1 if `st_atim' is a member of `struct stat'. */ |
619 |
| -#cmakedefine HAVE_STRUCT_STAT_ST_ATIM 1 |
620 |
| - |
621 |
| -/* Define to 1 if `st_atimespec' is a member of `struct stat'. */ |
622 |
| -#cmakedefine HAVE_STRUCT_STAT_ST_ATIMESPEC 1 |
623 |
| - |
624 | 501 | /* Define to 1 if `super_class' is a member of `struct objc_super'. */
|
625 | 502 | #cmakedefine HAVE_OBJC_SUPER_SUPER_CLASS 1
|
626 | 503 |
|
|
807 | 684 | /* Defaults to concurrent GC */
|
808 | 685 | #cmakedefine HAVE_CONC_GC_AS_DEFAULT 1
|
809 | 686 |
|
810 |
| -/* Define to 1 if you have the `stpcpy' function. */ |
811 |
| -#cmakedefine HAVE_STPCPY 1 |
812 |
| - |
813 | 687 | /* Define to 1 if you have the `strtok_r' function. */
|
814 | 688 | #cmakedefine HAVE_STRTOK_R 1
|
815 | 689 |
|
816 |
| -/* Define to 1 if you have the `rewinddir' function. */ |
817 |
| -#cmakedefine HAVE_REWINDDIR 1 |
818 |
| - |
819 | 690 | /* Define to 1 if you have the `vasprintf' function. */
|
820 | 691 | #cmakedefine HAVE_VASPRINTF 1
|
821 | 692 |
|
|
0 commit comments