-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmisc.h
46 lines (34 loc) · 861 Bytes
/
misc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* SF3KtoProT - Converts Star Fighter 3000 music to Amiga ProTracker format
* Miscellaneous macro definitions
* Copyright (C) 2018 Christopher Bazley
*/
#ifndef MISC_H
#define MISC_H
/* Modify these definitions for Unix or Windows file paths. */
#ifndef PATH_SEPARATOR
#define PATH_SEPARATOR '.'
#endif
#ifndef EXT_SEPARATOR
#define EXT_SEPARATOR '/' /* e.g. ADFS::4.$.Star3000.Graphics.Earth1/obj */
#endif
#ifdef FORTIFY
#include "Fortify.h"
#else
#define Fortify_CheckAllMemory()
#endif
#ifdef USE_CBDEBUG
#include "Debug.h"
#include "PseudoIO.h"
#include "PseudoKern.h"
#else /* USE_CBDEBUG */
#include <stdio.h>
#include <assert.h>
#define DEBUG_SET_OUTPUT(output_mode, log_name)
#ifdef DEBUG_OUTPUT
#define DEBUGF if (1) printf
#else
#define DEBUGF if (0) printf
#endif /* DEBUG_OUTPUT */
#endif /* USE_CBDEBUG */
#endif /* MISC_H */