1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-04-26 22:29:36 +03:00

Windows specific corrections to retrospective source

This commit is contained in:
David Kinder 2022-05-17 21:54:02 +01:00
parent f19235fb00
commit 04d86f9c92
3 changed files with 6 additions and 3 deletions

View file

@ -188,7 +188,7 @@
#define SAFETY_MARGIN 32
#define BLANK_END_SIZE 128
#define MAX_BLOCKS_ALLOWED 15000
#define MEMORY_GRANULARITY 200*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define MEMORY_GRANULARITY 300*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define INTEGRITY_NUMBER 0x12345678 /* a value unlikely to be in memory just by chance */
#define CREATE(type_name) (allocate_##type_name())
#define DESTROY(this, type_name) (deallocate_##type_name(this))
@ -14649,6 +14649,7 @@ void Platform__platform_specific_closedir(void *folder) {
#ifdef WINDOWS_DIRECTORY_HANDLING
#include <sys/stat.h>
#include <direct.h>
#include <dirent.h>
#line 227 "inform7/Chapter 1/Platform-Specific Definitions.w"
#include <io.h>

View file

@ -191,7 +191,7 @@
#define SAFETY_MARGIN 32
#define BLANK_END_SIZE 128
#define MAX_BLOCKS_ALLOWED 15000
#define MEMORY_GRANULARITY 200*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define MEMORY_GRANULARITY 300*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define INTEGRITY_NUMBER 0x12345678 /* a value unlikely to be in memory just by chance */
#define CREATE(type_name) (allocate_##type_name())
#define DESTROY(this, type_name) (deallocate_##type_name(this))
@ -14762,6 +14762,7 @@ void Platform__closedir(void *folder) {
#ifdef WINDOWS_DIRECTORY_HANDLING
#include <sys/stat.h>
#include <direct.h>
#include <dirent.h>
#line 241 "inform7/Chapter 1/Platform-Specific Definitions.w"
#include <io.h>

View file

@ -184,7 +184,7 @@
#define SAFETY_MARGIN 32
#define BLANK_END_SIZE 128
#define MAX_BLOCKS_ALLOWED 15000
#define MEMORY_GRANULARITY 200*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define MEMORY_GRANULARITY 300*1024*CPU_WORDSIZE_MULTIPLIER /* which must be divisible by 1024 */
#define INTEGRITY_NUMBER 0x12345678 /* a value unlikely to be in memory just by chance */
#define CREATE(type_name) (allocate_##type_name())
#define COPY(to, from, type_name) (copy_##type_name(to, from))
@ -14659,6 +14659,7 @@ void Platform__closedir(void *folder) {
#ifdef WINDOWS_DIRECTORY_HANDLING
#include <sys/stat.h>
#include <direct.h>
#include <dirent.h>
#line 241 "inform7/Chapter 1/Platform-Specific Definitions.w"
#include <io.h>