Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / examples / tutorial / using_ppapi_simple / hello_world.c
index 9c98d6c..10322d0 100644 (file)
@@ -24,5 +24,10 @@ int example_main(int argc, char* argv[]) {
 /*
  * Register the function to call once the Instance Object is initialized.
  * see: pappi_simple/ps_main.h
+ *
+ * This is not needed when building the sel_ldr version of this example
+ * which does not link against ppapi_simple.
  */
+#ifndef SEL_LDR
 PPAPI_SIMPLE_REGISTER_MAIN(example_main)
+#endif