| Line |  | 
|---|
| 1 | #ifndef     __FIXCODE_H__ | 
|---|
| 2 | #define     __FIXCODE_H__ | 
|---|
| 3 |  | 
|---|
| 4 | /* | 
|---|
| 5 | // Include the version information for BLDLEVEL. | 
|---|
| 6 | // This information is common to all built executables. | 
|---|
| 7 | */ | 
|---|
| 8 | #include "../../include/version.h" | 
|---|
| 9 |  | 
|---|
| 10 | char    bldlevel[]  =   "@#"\ | 
|---|
| 11 | BLDLVL_VENDOR":"\ | 
|---|
| 12 | BLDLVL_MAJOR_VERSION"."\ | 
|---|
| 13 | BLDLVL_MIDDLE_VERSION"."\ | 
|---|
| 14 | BLDLVL_MINOR_VERSION"#@##1## "\ | 
|---|
| 15 | BLDLVL_YEAR"/"\ | 
|---|
| 16 | BLDLVL_MONTH"/"\ | 
|---|
| 17 | BLDLVL_DAY" "\ | 
|---|
| 18 | BLDLVL_HOURS":"\ | 
|---|
| 19 | BLDLVL_MINUTES":"\ | 
|---|
| 20 | BLDLVL_SECONDS"      "\ | 
|---|
| 21 | BLDLVL_MACHINE"::"\ | 
|---|
| 22 | BLDLVL_LANGUAGE"::"\ | 
|---|
| 23 | BLDLVL_MINOR_VERSION"::@@"\ | 
|---|
| 24 | "Image Embedder for the AiR-BOOT Boot Manager"; | 
|---|
| 25 |  | 
|---|
| 26 | #if defined(__DOS__) | 
|---|
| 27 | #define PLATFORM_DOS | 
|---|
| 28 | #elif defined(__OS2__) && !defined(OS2) | 
|---|
| 29 | #define PLATFORM_OS2 | 
|---|
| 30 | #elif defined(__NT__) | 
|---|
| 31 | #define PLATFORM_WINNT | 
|---|
| 32 | #elif defined(__LINUX__) | 
|---|
| 33 | #define PLATFORM_LINUX | 
|---|
| 34 | #else | 
|---|
| 35 | #error Unsupported platform | 
|---|
| 36 | #endif | 
|---|
| 37 |  | 
|---|
| 38 |  | 
|---|
| 39 | #include    <stdlib.h> | 
|---|
| 40 | #include    <stdio.h> | 
|---|
| 41 | #include    <string.h> | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 | #define     IMAGE_SIZE      31744 | 
|---|
| 45 | //~ #define     MBRPROT_SIZE    1024 | 
|---|
| 46 | #define     MBRPROT_SIZE    768 | 
|---|
| 47 | #define     SECSIZE         512 | 
|---|
| 48 | #define     PAGESIZE        256 | 
|---|
| 49 |  | 
|---|
| 50 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.