|
Last change
on this file since 58 was 57, checked in by Ben Rietbroek, 10 years ago |
|
All source-files lowercased [v1.1.1-testing]
Some standard files like 'COPYING', 'LICENSE', etc. have not been
converted to lower case because they are usually distributed uppercased.
|
|
File size:
587 bytes
|
| Line | |
|---|
| 1 | #ifndef __FIXCODE_H__
|
|---|
| 2 | #define __FIXCODE_H__
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 | #if defined(__DOS__)
|
|---|
| 6 | #define PLATFORM_DOS
|
|---|
| 7 | #elif defined(__OS2__) && !defined(OS2)
|
|---|
| 8 | #define PLATFORM_OS2
|
|---|
| 9 | #elif defined(__NT__)
|
|---|
| 10 | #define PLATFORM_WINNT
|
|---|
| 11 | #elif defined(__LINUX__)
|
|---|
| 12 | #define PLATFORM_LINUX
|
|---|
| 13 | #else
|
|---|
| 14 | #error Unsupported platform
|
|---|
| 15 | #endif
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | #include <stdlib.h>
|
|---|
| 19 | #include <stdio.h>
|
|---|
| 20 | #include <string.h>
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | #define IMAGE_SIZE 31744
|
|---|
| 24 | //~ #define MBRPROT_SIZE 1024
|
|---|
| 25 | #define MBRPROT_SIZE 768
|
|---|
| 26 | #define SECSIZE 512
|
|---|
| 27 | #define PAGESIZE 256
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.