author Petr Sumbera <>
Tue, 22 Aug 2017 01:54:58 -0700
changeset 376385 3fd81dad7c8b68c256f455542f72e880cfeb9c63
parent 223144 3928ee1b0381453833c00fbe1e1b72a26143f13a
permissions -rw-r--r--
Bug 1185424 - Fix build failures on SunOS due to "NSModules are not ordered appropriately". r=glandium

#include "mozilla/Module.h"

/* This could be null, but this needs a dummy value to ensure it actually ends
 * up in the same section as other NSMODULE_DEFNs, instead of being moved to a
 * separate readonly section. */
NSMODULE_DEFN(start_kPStaticModules) = (mozilla::Module*)&NSMODULE_NAME(start_kPStaticModules);