octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do we need "DEFINES=-DWIN32 -DGSL_DLL" in the Makefile of the gsl pa


From: Julien Bect
Subject: Re: Do we need "DEFINES=-DWIN32 -DGSL_DLL" in the Makefile of the gsl package?
Date: Mon, 5 Sep 2016 15:38:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

Le 05/09/2016 à 15:35, Julien Bect a écrit :
The lines that we are currently discussing are in Makefile.in, which is turned into a proper Makefile by configure.

Are there really people out that use configure (produced by autoconf) in conjunction with MSVC? Is that even possible?

"people out there", I mean...

@++
Julien


PS : I have found the following lines in gsl_types.h:

#ifndef GSL_VAR

#ifdef WIN32
#  ifdef GSL_DLL
#    ifdef DLL_EXPORT
#      define GSL_VAR extern __declspec(dllexport)
#    else
#      define GSL_VAR extern __declspec(dllimport)
#    endif
#  else
#    define GSL_VAR extern
#  endif
#else
#  define GSL_VAR extern
#endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]