History

win64: align jmp_buf

grischka committed 17 years ago

Commit 09ac9fa1 parent 035918e1 file · +10 −0Browse files

Unified · Split

tcc.h+10−0
@@ -47,6 +47,9 @@ · 46 unmodified lines
47#define inline __inline47#define inline __inline
48#define inp next_inp48#define inp next_inp
49#define dlclose FreeLibrary49#define dlclose FreeLibrary
50#ifdef _MSC_VER
51#define __aligned(n) __declspec(align(n))
52#endif
50#ifdef _WIN6453#ifdef _WIN64
51#define uplong unsigned long long54#define uplong unsigned long long
52#endif55#endif
@@ -65,6 +68,10 @@ · 12 unmodified lines
65#define uplong unsigned long68#define uplong unsigned long
66#endif69#endif
67 70
71#ifndef __aligned
72#define __aligned(n) __attribute__((aligned(n)))
73#endif
74
68#ifndef PAGESIZE75#ifndef PAGESIZE
69#define PAGESIZE 409676#define PAGESIZE 4096
70#endif77#endif
@@ -473,6 +480,9 @@ struct TCCState { · 402 unmodified lines
473 void *error_opaque;480 void *error_opaque;
474 void (*error_func)(void *opaque, const char *msg);481 void (*error_func)(void *opaque, const char *msg);
475 int error_set_jmp_enabled;482 int error_set_jmp_enabled;
483#ifdef _WIN64
484 __aligned(16)
485#endif
476 jmp_buf error_jmp_buf;486 jmp_buf error_jmp_buf;
477 int nb_errors;487 int nb_errors;
478 488

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t