-
Notifications
You must be signed in to change notification settings - Fork 3
/
SELVERS.h
51 lines (43 loc) · 1.65 KB
/
SELVERS.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
47
48
49
50
51
/*
* Uncomment a line to use YOUR version
*/
//
// at most one of the following two should be uncommented
// if both are commented out, use the solution code
//
//#define MYDECRYPT_C // when defined will use your decrypt.c for PA8
//#define MYDECRYPT_S // when defined will use your decrypt.S for PA8
#if defined MYDECRYPT_S && defined MYDECRYPT_C
#error "You can only have one of MYDECRYPT_S and MYDECRYPT_C defined"
#endif
//
// at most one of the following two should be uncommented
// if both are commented out, use the solution code
//
//#define MYENCRYPT_C // when defined will use your encrypt.c for PA8
//#define MYENCRYPT_S // when defined will use your encrypt.S for PA8
#if defined MYENCRYPT_S && defined MYENCRYPT_C
#error "You can only have one of MYENCRYPT_S and MYENCRYPT_C defined"
#endif
//
// only one of the following two must be uncommented
//
#define MAIN_C // Must be uncommented to use Cmain.c for PA8
//#define MYMAIN_S // when defined will use your main.S for PA9
#if defined MYMAIN_S && defined MAIN_C
#error "You can only have one of MYMAIN_S and MAIN_C defined"
#endif
#if !defined MYMAIN_S && !defined MAIN_C
#error "You must have one of MYMAIN_S and MAIN_C defined"
#endif
//
// only one of the following two must be uncommented
//
#define RDBUF_C // Must be uncommented to use Crdbuf.c for PA8
//#define MYRDBUF_S // when defined will use your rdbuf.S for PA9
#if defined MYRDBUF_S && defined RDBUF_C
#error "You can only have one of MYRDBUF_S and RDBUF_C defined"
#endif
#if !defined MYRDBUF_S && !defined RDBUF_C
#error "You must have one of MYRDBUF_S and RDBUF_C defined"
#endif