Skip to Content.
Sympa Menu

freetds - RE: Coding question

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: Coding question
  • Date: Fri, 11 Oct 2002 14:06:18 +0200


>
> In tds.h.in there are som os dependensies such as:
>
> typedef @int64@ TDS_INT8; /* 64 bit integer */
>
> How would you like me to do for the win32 (no, not cygwin) version?
>
> Something like
>
> #ifdef WIN32
> typedef __int64 TDS_INT8; /* 64 bit integer */
> #else
> typedef @int64@ TDS_INT8; /* 64 bit integer */
> #endif
>
> or should I create a special header file just for win32?
>

I think so, or perhaps we should split this file (configure related and
not)...

> When I compile in VC++ I compile the same source as
> on our Linux server but how should a user with only
> Windows be able to compile when some of the header
> files are created by the configure script?
>
> /Jonas
>

You should manually write a config.h for win32 and include (usually I add a
-I parameter to add another directory to include path)

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page