63 lines
1.5 KiB
Text
63 lines
1.5 KiB
Text
#ifndef PLATFORM_WINDOWS
|
|
#define PLATFORM_POSIX
|
|
#endif
|
|
/* Tangled output generated by inweb: do not edit */
|
|
#include <stdio.h>
|
|
#ifdef PLATFORM_WINDOWS
|
|
#define PEACH 1
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#ifdef PLATFORM_WINDOWS
|
|
#define A_COM 1
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#ifdef PLATFORM_WINDOWS
|
|
#define B_COM 2
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#ifdef PLATFORM_WINDOWS
|
|
#define C_COM 3
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#define NO_DEFINED_COM_VALUES 3
|
|
#ifdef PLATFORM_WINDOWS
|
|
#line 23 "inweb/Tests/Test Cases/conditional.inweb"
|
|
typedef struct bong {
|
|
int f;
|
|
} bong;
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#ifndef PLATFORM_WINDOWS
|
|
#ifdef POSIX
|
|
#line 35 "inweb/Tests/Test Cases/conditional.inweb"
|
|
typedef struct bong {
|
|
unsigned int f;
|
|
} bong;
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#endif /* POSIX */
|
|
#line 9 "inweb/Tests/Test Cases/conditional.inweb"
|
|
int main(int argc, char *argv[]) ;
|
|
#ifdef PLATFORM_WINDOWS
|
|
#line 27 "inweb/Tests/Test Cases/conditional.inweb"
|
|
void banana(int n) ;
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#line 8 "inweb/Tests/Test Cases/conditional.inweb"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
printf("Hello world!\n");
|
|
}
|
|
|
|
#ifdef PLATFORM_WINDOWS
|
|
#line 21 "inweb/Tests/Test Cases/conditional.inweb"
|
|
#include "nonexistent.h"
|
|
|
|
#line 26 "inweb/Tests/Test Cases/conditional.inweb"
|
|
|
|
void banana(int n) {
|
|
}
|
|
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#ifndef PLATFORM_WINDOWS
|
|
#ifdef POSIX
|
|
#line 33 "inweb/Tests/Test Cases/conditional.inweb"
|
|
#include "existent.h"
|
|
|
|
#line 38 "inweb/Tests/Test Cases/conditional.inweb"
|
|
|
|
#endif /* PLATFORM_WINDOWS */
|
|
#endif /* POSIX */
|