protect with ifdef

This commit is contained in:
ehouse 2004-07-10 17:51:42 +00:00
parent 2c6412448b
commit 898d0bf9ed
2 changed files with 7 additions and 1 deletions

View file

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef XWFEATURE_SEARCHLIMIT
#include "cehntlim.h"
@ -90,3 +90,5 @@ HintLimitsDlg( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam )
return FALSE;
} /* HintLimitsDlg */
#endif /* XWFEATURE_SEARCHLIMIT */

View file

@ -20,6 +20,8 @@
#ifndef _CEHNTLIM_H_
#define _CEHNTLIM_H_
#ifdef XWFEATURE_SEARCHLIMIT
#include "cemain.h"
typedef struct HintLimitsState {
@ -31,4 +33,6 @@ typedef struct HintLimitsState {
LRESULT CALLBACK HintLimitsDlg(HWND, UINT, WPARAM, LPARAM);
#endif /* XWFEATURE_SEARCHLIMIT */
#endif