VirtualBox

Changeset 91596 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 6, 2021 4:08:12 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147314
Message:

include/iprt/formats/tpm.h: Some guards for the TPM status code defines, bugref:10078

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/tpm.h

    r91005 r91596  
    195195/** @name TPM status codes.
    196196 * @{ */
     197#ifndef TPM_SUCCESS
    197198/** Request executed successfully. */
    198 #define TPM_SUCCESS                         UINT32_C(0)
     199# define TPM_SUCCESS                        UINT32_C(0)
     200#endif
     201#ifndef TPM_AUTHFAIL
    199202/** Authentication failed. */
    200 #define TPM_AUTHFAIL                        UINT32_C(1)
     203# define TPM_AUTHFAIL                       UINT32_C(1)
     204#endif
     205#ifndef TPM_BADINDEX
    201206/** An index is malformed. */
    202 #define TPM_BADINDEX                        UINT32_C(2)
     207# define TPM_BADINDEX                       UINT32_C(2)
     208#endif
     209#ifndef TPM_BAD_PARAMETER
    203210/** A request parameter is invalid. */
    204 #define TPM_BAD_PARAMETER                   UINT32_C(3)
     211# define TPM_BAD_PARAMETER                  UINT32_C(3)
     212#endif
     213#ifndef TPM_FAIL
    205214/** The TPM failed to execute the request. */
    206 #define TPM_FAIL                            UINT32_C(9)
     215# define TPM_FAIL                           UINT32_C(9)
     216#endif
    207217/** @todo Extend as need arises. */
    208218/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette