mirror of https://github.com/postgres/postgres
Fix a few portability issues, adjust error messages.
This commit is contained in:
parent
8fd5b3ed67
commit
658fca8d3a
|
@ -1,3 +1,4 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "header.h"
|
#include "header.h"
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,6 @@ static int r_prelude(struct SN_env * z) {
|
||||||
z->c = c;
|
z->c = c;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
lab1:
|
|
||||||
z->c = c;
|
z->c = c;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
|
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
#include "api.h"
|
#include "api.h"
|
||||||
|
|
||||||
#define MAXINT INT_MAX
|
|
||||||
#define MININT INT_MIN
|
|
||||||
|
|
||||||
#define HEAD 2*sizeof(int)
|
#define HEAD 2*sizeof(int)
|
||||||
|
|
||||||
#define SIZE(p) ((int *)(p))[-1]
|
#define SIZE(p) ((int *)(p))[-1]
|
||||||
|
|
Loading…
Reference in New Issue