mirror of
https://github.com/LIV2/lide.device.git
synced 2025-12-06 00:32:45 +00:00
Mounter repo: https://github.com/A4091/mounter Mounter commit: a0d87fe11a2113afa2bc4aec970fd9963f062846
32 lines
890 B
C
32 lines
890 B
C
//
|
|
// Copyright 2022-2025 Stefan Reinauer
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions are met:
|
|
//
|
|
// 1. Redistributions of source code must retain the above copyright notice,
|
|
// this list of conditions and the following disclaimer.
|
|
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
// this list of conditions and the following disclaimer in the documentation
|
|
// and/or other materials provided with the distribution.
|
|
//
|
|
|
|
#ifndef __NDK_COMPAT_H
|
|
#define __NDK_COMPAT_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
/* ULONG has changed from NDK 3.9 to NDK 3.2.
|
|
* However, PRI*32 did not. What is the right way to implement this?
|
|
*/
|
|
#if INCLUDE_VERSION < 47
|
|
#undef PRIu32
|
|
#define PRIu32 "lu"
|
|
#undef PRId32
|
|
#define PRId32 "ld"
|
|
#undef PRIx32
|
|
#define PRIx32 "lx"
|
|
#endif
|
|
|
|
#endif
|