on_shmem_exit(IpcMemoryDelete, Int32GetDatum(shmid));
/* OK, should be able to attach to the segment */
-#if defined(solaris) && defined(__sparc__)
+#if defined(sun) && defined(__sparc__)
/* use intimate shared memory on SPARC Solaris */
memAddress = shmat(shmid, 0, SHM_SHARE_MMU);
#else
hdr = (PGShmemHeader *) shmat(*shmid,
UsedShmemSegAddr,
-#if defined(solaris) && defined(__sparc__)
+#if defined(sun) && defined(__sparc__)
/* use intimate shared memory on Solaris */
SHM_SHARE_MMU
#else