Skip site navigation (1) Skip section navigation (2)

Portability Issue in src/backend/port/snprintf.c (I think)

From: Frank Ridderbusch <ridderbusch(dot)pad(at)sni(dot)de>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Portability Issue in src/backend/port/snprintf.c (I think)
Date: 1998-10-06 07:41:31
Message-ID: 13849.51627.720000.763380@utensil (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I compiled Sundays snapshot in preparation of a SVR4/SINIX Readme. A
couple of the problems, which I saw, have already been addressed by
the recent UnixWare patch.

Admittedly my operating system platform is somewhat old, however I
would think, that there are more os versions out there, which don't
have a 'long long' data type.

In particular my compiler didn't like the following line in

/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
typedef long long long_long;

I'm on a simple 32bit architecture with no long long support, so I
changed 'long long' to 'long' and everything was okay.

Any comments?

     /====                         Siemens AG
    /    Ridderbusch        / ,   ICP CS XS QM4
   /                       /./   Heinz Nixdorf Ring
  /=== /,== ,===/  /,==,  //    33106 Paderborn, Germany
 /    //   /   /  //   / / \   Tel.: (49) 5251-8-15211
/    /     `==/\ /    / /   \ Email: ridderbusch(dot)pad(at)sni(dot)de

Since I have taken all the Gates out of my computer, it finally works!!


pgsql-hackers by date

Next:From: David HartwigDate: 1998-10-06 15:28:22
Subject: Re: [HACKERS] RE: [GENERAL] Long update query ? (also Re: [GENERAL] CNF vs. DNF)
Previous:From: Vadim MikheevDate: 1998-10-06 06:51:27
Subject: Re: [HACKERS] select * from ..;vacuum crashes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group