features.hh (fstransform-0.9.3-src) | : | features.hh (fstransform-0.9.4) | ||
---|---|---|---|---|
/* | /* | |||
* fstransform - transform a file-system to another file-system type, | * common header for fsattr, fsmove, fsremap | |||
* preserving its contents and without the need for a backup | ||||
* | * | |||
* Copyright (C) 2011-2012 Massimiliano Ghilardi | * Copyright (C) 2011-2012 Massimiliano Ghilardi | |||
* | * | |||
* This program is free software: you can redistribute it and/or modify | * This program is free software: you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation, either version 3 of the License, or | * the Free Software Foundation, either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | * | |||
skipping to change at line 38 | skipping to change at line 37 | |||
#ifdef FT_HAVE_EXTERN_C | #ifdef FT_HAVE_EXTERN_C | |||
/** in C++, define to extern "C" { ... }. in C, define as empty */ | /** in C++, define to extern "C" { ... }. in C, define as empty */ | |||
# define FT_EXTERN_C_BEGIN extern "C" { | # define FT_EXTERN_C_BEGIN extern "C" { | |||
# define FT_EXTERN_C_END } | # define FT_EXTERN_C_END } | |||
#else | #else | |||
# define FT_EXTERN_C_BEGIN | # define FT_EXTERN_C_BEGIN | |||
# define FT_EXTERN_C_END | # define FT_EXTERN_C_END | |||
#endif /* FT_HAVE_EXTERN_C */ | #endif /* FT_HAVE_EXTERN_C */ | |||
/* suppress warning about unused function argument */ | ||||
#ifndef FT_ARG_UNUSED | ||||
# define FT_ARG_UNUSED(arg) | ||||
#endif | ||||
#ifdef FT_HAVE_NAMESPACE | #ifdef FT_HAVE_NAMESPACE | |||
/** in C++, define to namespace ft { ... }. in C, define as empty */ | /** in C++, define to namespace ft { ... }. in C, define as empty */ | |||
# define FT_NAMESPACE_BEGIN namespace ft { | # define FT_NAMESPACE_BEGIN namespace ft { | |||
# define FT_NAMESPACE_END } | # define FT_NAMESPACE_END } | |||
# define FT_ARCH_NAMESPACE_BEGIN FT_NAMESPACE_BEGIN namespace arch { | # define FT_ARCH_NAMESPACE_BEGIN FT_NAMESPACE_BEGIN namespace arch { | |||
# define FT_ARCH_NAMESPACE_END } FT_NAMESPACE_END | # define FT_ARCH_NAMESPACE_END } FT_NAMESPACE_END | |||
# define FT_IO_NAMESPACE_BEGIN FT_NAMESPACE_BEGIN namespace io { | # define FT_IO_NAMESPACE_BEGIN FT_NAMESPACE_BEGIN namespace io { | |||
# define FT_IO_NAMESPACE_END } FT_NAMESPACE_END | # define FT_IO_NAMESPACE_END } FT_NAMESPACE_END | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added |