ee916bdb91
Signed-off-by: ligd <liguiding1@xiaomi.com>
43 lines
1.6 KiB
C
43 lines
1.6 KiB
C
/****************************************************************************
|
|
* arch/ceva/include/stdarg.h
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright ownership. The
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance with the
|
|
* License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations
|
|
* under the License.
|
|
*
|
|
****************************************************************************/
|
|
|
|
#ifndef __ARCH_CEVA_INCLUDE_STDARG_H
|
|
#define __ARCH_CEVA_INCLUDE_STDARG_H
|
|
|
|
/****************************************************************************
|
|
* Included Files
|
|
****************************************************************************/
|
|
|
|
#include <stdarg.h>
|
|
|
|
/****************************************************************************
|
|
* Pre-processor Definitions
|
|
****************************************************************************/
|
|
|
|
/* Redefine va_copy since:
|
|
* 1.TL4 doesn't define it at all
|
|
* 2.XM6/X2 generate the wrong code
|
|
*/
|
|
|
|
#undef va_copy
|
|
#define va_copy(d,s) ((d) = (s))
|
|
|
|
#endif /* __ARCH_CEVA_INCLUDE_STDARG_H */
|