Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 0489d32ee464aa85eb765e0b36fcf97fe0b59198 (plain) (tree)






















                                                                                 
/*******************************************************************************
 * Copyright (c) 2017 Wind River Systems, Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at 
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 * Martin Oberhuber (Wind River) - initial API and implementation
 *******************************************************************************/
#ifndef ECLIPSE_MEMMOVE_H
#define ECLIPSE_MEMMOVE_H

/* Bug 517013: Replace memcpy() by memmove() on Linux x86_64 */
/* Must be included after memcpy / memmove system includes.  */
#if defined(LINUX) && defined(__x86_64__)
#  if defined(memcpy)
#    undef memcpy
#  endif
#  define memcpy memmove
#endif

#endif

Back to the top