Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problem with datetime from a MS SQL Server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frank M. Kromann" <frank AT kromann.info>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Problem with datetime from a MS SQL Server
  • Date: Mon, 10 Feb 2003 15:10:37 -0800

Hi Steve,

> > I like this idea too, but I guess I still need a way to know if I'm
> > building against Sybase libs or FreeTDS. I don't know much about
Sybase
> > libs, but the file names for headers and libs are the same as those
used
> > for FreeTDS ? Is there any defines that I can use to check this ?
>
> Not meaning to be impertinent, but: why do you need to know if you're
> building against FreeTDS or Sybase? I think it's more accurate to say
> that you need to know which behavior pattern the underlying libs
exhibit:
> i.e., if you test for a Microsoft-specific member name in the struct
> using autoconf, this should be enough to say that you're using a
> Microsoft-*like* library, as opposed to a Sybase-*like* library.
>
> The autoconf mantra is, "check for features, not for platforms".
>
> It's a safe bet that the Sybase headers look quite a bit like the
FreeTDS
> ones in this case. On the dblib side, I gather the libs are also
> congruent.

This is correct. I'll try to tweek the PHP build process to look for this.
This will work for me.

On Win32 I have a litle more control as extensions are distributed as
binaries.

- Frank
>
> --
> Steve Langasek
> postmodern programmer
>







Archive powered by MHonArc 2.6.24.

Top of Page