[Mesa-dev] [PATCH] svga: scons: remove unused HAVE_SYS_TYPES_H define

Brian Paul brianp at vmware.com
Fri Jul 17 12:22:05 PDT 2015


Can you elaborate in the commit message why this is being done or why 
the HAVE_SYS_TYPES_H definition is not needed?  That saves me time 
having to research the issue myself.

-Brian

On 07/17/2015 11:18 AM, Emil Velikov wrote:
> Cc: Jose Fonseca <jfonseca at vmware.com>
> Cc: Brian Paul <brianp at vmware.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>   src/gallium/drivers/svga/SConscript    | 1 -
>   src/gallium/winsys/svga/drm/SConscript | 1 -
>   2 files changed, 2 deletions(-)
>
> diff --git a/src/gallium/drivers/svga/SConscript b/src/gallium/drivers/svga/SConscript
> index bb4d034..0ee6246 100644
> --- a/src/gallium/drivers/svga/SConscript
> +++ b/src/gallium/drivers/svga/SConscript
> @@ -11,7 +11,6 @@ if env['suncc']:
>   if env['gcc'] or env['clang']:
>   	env.Append(CPPDEFINES = [
>   		'HAVE_STDINT_H',
> -		'HAVE_SYS_TYPES_H',
>   	])
>   	
>   env.Prepend(CPPPATH = [
> diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript
> index 099acda..2585053 100644
> --- a/src/gallium/winsys/svga/drm/SConscript
> +++ b/src/gallium/winsys/svga/drm/SConscript
> @@ -8,7 +8,6 @@ if env['gcc'] or env['clang'] or env['icc']:
>       env.Append(CCFLAGS = ['-fvisibility=hidden'])
>       env.Append(CPPDEFINES = [
>           'HAVE_STDINT_H',
> -        'HAVE_SYS_TYPES_H',
>           '-D_FILE_OFFSET_BITS=64',
>       ])
>
>



More information about the mesa-dev mailing list