From 398540bcd51792bdf838b5a57c9255d5e7c0c6ed Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 29 Nov 2008 18:12:54 +0000 Subject: Add configuration check git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1350 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nx/nx_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuttx/examples/nx/nx_internal.h') diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h index ce1f61771..b01fa5db6 100644 --- a/nuttx/examples/nx/nx_internal.h +++ b/nuttx/examples/nx/nx_internal.h @@ -49,6 +49,10 @@ /* Configuration ************************************************************/ +#ifndef CONFIG_NXGRAPHICS +# error "NX is not enabled (CONFIG_NXGRAPHICS)" +#endif + #ifndef CONFIG_EXAMPLES_NX_VPLANE # define CONFIG_EXAMPLES_NX_VPLANE 0 #endif -- cgit v1.2.3