Changeset 4827

Show
Ignore:
Timestamp:
05/11/10 19:08:17 (4 years ago)
Author:
soohyunc
Message:

copied Revision 4799 from mpeg branch done by Doug.

- copied log message for reference:

Use HAVE_CONFIG_H preprocessor conditional for including uclconf.h,
a autoconf configure generated header file which doesn't exist with
Visual Studio

Location:
vic/branches/cc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/Makefile.in

    r4791 r4827  
    9595INCLUDE = $(INCLUDE_MISC) $(INCLUDE_GRABBER) $(INCLUDE_TK) $(INCLUDE_TCL) \ 
    9696        $(INCLUDE_X11) $(MD_INC) -Icodec/jpeg -Icodec/p64 -I.  
    97 DEFINE = @V_DEFINE@ -DED_YBITS=$(ED_YBITS) -DSIGRET=@V_SIGRET@ -DNLAYER=8 -D_GNU_SOURCE 
     97DEFINE = @DEFS@ @V_DEFINE@ -DED_YBITS=$(ED_YBITS) -DSIGRET=@V_SIGRET@ -DNLAYER=8 -D_GNU_SOURCE 
    9898BFLAGS = $(DEFINE) $(INCLUDE) 
    9999CFLAGS = $(CCOPT) $(BFLAGS) -Wno-write-strings  
  • vic/branches/cc/config.h

    r4154 r4827  
    3737#define vic_config_h 
    3838 
     39#ifdef HAVE_CONFIG_H 
     40#include "uclconf.h" 
     41#endif 
     42 
    3943#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) 
    4044#include <sys/types.h>