|
Link Here
|
| 260 |
#endif |
260 |
#endif |
| 261 |
#endif |
261 |
#endif |
| 262 |
|
262 |
|
|
|
263 |
|
| 264 |
/* The following FILE_* #defines were moved here from fractint.h to |
| 265 |
* avoid inconsistent declarations in dos_help/hc.c and unix/unix.c. */ |
| 266 |
|
| 267 |
/* these are used to declare arrays for file names */ |
| 268 |
#ifdef XFRACT |
| 269 |
#define FILE_MAX_PATH 256 /* max length of path+filename */ |
| 270 |
#define FILE_MAX_DIR 256 /* max length of directory name */ |
| 271 |
#else |
| 272 |
#define FILE_MAX_PATH 80 /* max length of path+filename */ |
| 273 |
#define FILE_MAX_DIR 80 /* max length of directory name */ |
| 274 |
#endif |
| 275 |
#define FILE_MAX_DRIVE 3 /* max length of drive letter */ |
| 276 |
|
| 277 |
#if 1 |
| 278 |
#define FILE_MAX_FNAME 9 /* max length of filename */ |
| 279 |
#define FILE_MAX_EXT 5 /* max length of extension */ |
| 280 |
#else |
| 281 |
/* |
| 282 |
The filename limits were increased in Xfract 3.02. But alas, |
| 283 |
in this poor program that was originally developed on the |
| 284 |
nearly-brain-dead DOS operating system, quite a few things |
| 285 |
in the UI would break if file names were bigger than DOS 8-3 |
| 286 |
names. So for now humor us and let's keep the names short. |
| 287 |
*/ |
| 288 |
#define FILE_MAX_FNAME 64 /* max length of filename */ |
| 289 |
#define FILE_MAX_EXT 64 /* max length of extension */ |
| 290 |
#endif |
| 291 |
|
| 292 |
|
| 263 |
/* Uses big_access32(), big_set32(),... functions instead of macros. */ |
293 |
/* Uses big_access32(), big_set32(),... functions instead of macros. */ |
| 264 |
/* Some little endian machines may require this as well. */ |
294 |
/* Some little endian machines may require this as well. */ |
| 265 |
#if BYTE_ORDER == BIG_ENDIAN |
295 |
#if BYTE_ORDER == BIG_ENDIAN |