solaris: minor ifdefs

base/process_util_posix.cc, base/third_party/nspr/prcpucfg.h,
third_party/npapi/bindings/npapi.h: added alternate Solaris OS choice

BUG=30101
TEST=compiles
Patch by James Choi <[email protected]>.

Review URL: http://codereview.chromium.org/606069

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39220 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
index bcbc5785..51bb5933 100644
--- a/base/base_paths_posix.cc
+++ b/base/base_paths_posix.cc
@@ -20,6 +20,8 @@
 
 #if defined(OS_LINUX)
 const char kSelfExe[] = "/proc/self/exe";
+#elif defined(OS_SOLARIS)
+const char kSelfExe[] = getexecname();
 #elif defined(OS_FREEBSD)
 const char kSelfExe[] = "/proc/curproc/file";
 #endif