xref: /aosp_15_r20/external/libffi/linux-riscv64/ffi.h (revision 1fd5a2e1d639cd1ddf29dd0c484c123bbd850c21)
1*1fd5a2e1SPrashanth Swaminathan /*
2*1fd5a2e1SPrashanth Swaminathan  * Copyright 2023, The Android Open Source Project
3*1fd5a2e1SPrashanth Swaminathan  *
4*1fd5a2e1SPrashanth Swaminathan  * Licensed under the Apache License, Version 2.0 (the "License");
5*1fd5a2e1SPrashanth Swaminathan  * you may not use this file except in compliance with the License.
6*1fd5a2e1SPrashanth Swaminathan  * You may obtain a copy of the License at
7*1fd5a2e1SPrashanth Swaminathan  *
8*1fd5a2e1SPrashanth Swaminathan  *     http://www.apache.org/licenses/LICENSE-2.0
9*1fd5a2e1SPrashanth Swaminathan  *
10*1fd5a2e1SPrashanth Swaminathan  * Unless required by applicable law or agreed to in writing, software
11*1fd5a2e1SPrashanth Swaminathan  * distributed under the License is distributed on an "AS IS" BASIS,
12*1fd5a2e1SPrashanth Swaminathan  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*1fd5a2e1SPrashanth Swaminathan  * See the License for the specific language governing permissions and
14*1fd5a2e1SPrashanth Swaminathan  * limitations under the License.
15*1fd5a2e1SPrashanth Swaminathan  */
16*1fd5a2e1SPrashanth Swaminathan #ifndef LIBFFI_H
17*1fd5a2e1SPrashanth Swaminathan 
18*1fd5a2e1SPrashanth Swaminathan #define RISCV64
19*1fd5a2e1SPrashanth Swaminathan #define CONF_HAVE_LONG_DOUBLE 1
20*1fd5a2e1SPrashanth Swaminathan 
21*1fd5a2e1SPrashanth Swaminathan #define LIBFFI_H
22*1fd5a2e1SPrashanth Swaminathan #include "../src/riscv/ffitarget.h"
23*1fd5a2e1SPrashanth Swaminathan #undef LIBFFI_H
24*1fd5a2e1SPrashanth Swaminathan 
25*1fd5a2e1SPrashanth Swaminathan #include "ffi_gen.h"
26*1fd5a2e1SPrashanth Swaminathan 
27*1fd5a2e1SPrashanth Swaminathan #endif
28