Skip to content

Instantly share code, notes, and snippets.

/* $OpenBSD: endian.h,v 1.17 2006/01/06 18:53:05 millert Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
*
* 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.
Куча ошибок типа
In file included from *****************/libblkid/src/superblocks/squashfs.c:16:0:
*****************/include/bitops.h:46:29: error: expected ')' before '&' token
# define bswap_64(x) ((((x) & 0x00000000000000FFULL) << 56) | \
^
*****************/include/bitops.h:66:22: note: in expansion of macro 'bswap_64'
# define htobe64(x) bswap_64 (x)
^
F:/Run/Lprogr/Android/ndk/platforms/android-9/arch-arm/usr/include/sys/endian.h:164:12: note: in expansion of macro 'htobe64'
__uint64_t htobe64(__uint64_t);
///////// ........ mRecyclerView ........... ///////////////////
mRecyclerView.addOnItemTouchListener(new RecyclerTouchListener( mRecyclerView, new RecyclerClickListener() {
@Override
public void onClick(View v, int position) {
Toast.makeText(getActivity(), "onClick " + position, Toast.LENGTH_SHORT).show();
}
@Override
public void onLongClick(View v, int position) {