📄 compat.h
字号:
/****************************************************************************** * * Copyright (c) 2003 Gerhard W. Gruber * * PROJECT: pICE * $Source: /cvsroot/pice/pice/module/compat.h,v $ * $Revision: 1.1 $ * $Date: 2004/02/17 23:12:25 $ * $Author: lightweave $ * $Name: $ * * $Log: compat.h,v $ * Revision 1.1 2004/02/17 23:12:25 lightweave * New configuration handler for reading config files. See CHANGES.txt for * details. * * *****************************************************************************//*************************************************************************** * * * 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 * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/// This file contains only macros to help keeping the code compatible over// various kernel versions, so not to require to change the code with every// version.// Of course this file can only contains what you can achieve with macros.// For everything else you stil will have to write it in the codefile.//#ifndef _COMPAT_H#define _COMPAT_H#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19)#define COMPAT_expand_stack(vm, adr) expand_stack(vm, adr, NULL)#else#define COMPAT_expand_stack(vm, adr) expand_stack(vm, adr)#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -