1
0
mirror of https://github.com/golang/go synced 2024-11-25 07:57:56 -07:00

8l: fix windows build.

R=rsc, brainman
CC=golang-dev
https://golang.org/cl/2543042
This commit is contained in:
Wei Guangjing 2010-10-15 23:37:14 -04:00 committed by Russ Cox
parent eb6f683691
commit 77eb94c032
2 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@ pewrite(void)
for (i=0; i<nsect; i++) for (i=0; i<nsect; i++)
for (j=0; j<sizeof(sh[i]); j++) for (j=0; j<sizeof(sh[i]); j++)
cput(((char*)&sh[i])[j]); cput(((char*)&sh[i])[j]);
strnput("", PERESERVE-0x400);
} }
void void

View File

@ -72,8 +72,8 @@ typedef struct {
uint32 FirstThunk; uint32 FirstThunk;
} IMAGE_IMPORT_DESCRIPTOR; } IMAGE_IMPORT_DESCRIPTOR;
#define PERESERVE 0x400 #define PERESERVE 0x1000
#define PEALIGN 0x200 #define PEALIGN 0x1000
#define PEBASE 0x00400000 #define PEBASE 0x00400000
enum { enum {