On 4/2/07, H. J. Lu <[EMAIL PROTECTED]> wrote:
Many x86 SSE source codes use __declspec. I'd like to make
__declspec available for Linux/x86. We can do one of the
following:

Do the following in the sources:
#ifndef __WIN32__
#define __declspec(x)
#endif

or in the makefiles:
Add "-D__declspec(x)=" to CFLAGS/CXXFLAGS.

There is nothing special that __declspec does for Linux really.

-- Pinski

Reply via email to