6e623e9320
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
20 lines
531 B
C
20 lines
531 B
C
/* regparm.h: Define macros for regparm functions and methods.
|
|
|
|
This file is part of Cygwin.
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
details. */
|
|
|
|
#pragma once
|
|
|
|
#if defined (__x86_64__) || defined (__CYGMAGIC__)
|
|
# define __reg1
|
|
# define __reg2
|
|
# define __reg3
|
|
#else
|
|
# define __reg1 __stdcall __attribute__ ((regparm (1)))
|
|
# define __reg2 __stdcall __attribute__ ((regparm (2)))
|
|
# define __reg3 __stdcall __attribute__ ((regparm (3)))
|
|
#endif
|