[Insight-developers] [PATCH] COMP: mingw portability.

Luis Ibanez luis.ibanez at kitware.com
Sat Aug 21 11:43:45 EDT 2010


Bill,

Thanks for the patch.

It has now been pushed:

http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=d276b1a4eae3d29df0102dce4e3f2da9ea2b4dd7



     Luis


---------------------------------------
On Sat, Aug 21, 2010 at 11:04 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> From 93f5c1b4eb404be6270c8a02b1b3ebfcffaef341 Mon Sep 17 00:00:00 2001
> From: Bill Lorensen <bill.lorensen at gmail.com>
> Date: Sat, 21 Aug 2010 11:01:58 -0400
> Subject: [PATCH] COMP: mingw portability.
>
> ---
>  Utilities/openjpeg/openjpeg.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Utilities/openjpeg/openjpeg.h b/Utilities/openjpeg/openjpeg.h
> index 7bb3552..d5e76b2 100644
> --- a/Utilities/openjpeg/openjpeg.h
> +++ b/Utilities/openjpeg/openjpeg.h
> @@ -33,7 +33,7 @@
>  #ifndef OPENJPEG_H
>  #define OPENJPEG_H
>
> -#if defined(OPJ_STATIC) || !(defined(WIN32) || defined(__WIN32__))
> +#if defined(OPJ_STATIC) || (!defined(WIN32) && !defined(__MINGW32__))
> || defined(__WIN32__)
>   #define OPJ_API
>   #define OPJ_CALLCONV
>  #else
> --
> 1.7.0.2.msysgit.0
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100821/e721268b/attachment.htm>


More information about the Insight-developers mailing list